8201542: Remove unused _gc_timer field in GCMemoryManager
Summary: Minor cleanup to remove unused field
Reviewed-by: shade, minqi
--- a/src/hotspot/share/services/memoryManager.hpp Mon Apr 30 21:56:54 2018 -0400
+++ b/src/hotspot/share/services/memoryManager.hpp Tue May 01 07:40:41 2018 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -137,7 +137,6 @@
// TODO: We should unify the GCCounter and GCMemoryManager statistic
size_t _num_collections;
elapsedTimer _accumulated_timer;
- elapsedTimer _gc_timer; // for measuring every GC duration
GCStatInfo* _last_gc_stat;
Mutex* _last_gc_lock;
GCStatInfo* _current_gc_stat;