8201542: Remove unused _gc_timer field in GCMemoryManager
authorzgu
Tue, 01 May 2018 07:40:41 -0400
changeset 49936 4da7dce7e2bf
parent 49935 2ace90aec488
child 49937 7fed08d588b5
8201542: Remove unused _gc_timer field in GCMemoryManager Summary: Minor cleanup to remove unused field Reviewed-by: shade, minqi
src/hotspot/share/services/memoryManager.hpp
--- 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;