8145566: PrintNMethods compile command broken since b89
authorneliasso
Sat, 19 Dec 2015 19:06:02 +0100
changeset 35138 de9e69473956
parent 35137 c8f8f6de68a7
child 35139 071b000357fc
8145566: PrintNMethods compile command broken since b89 Summary: Decremented Symbol twice Reviewed-by: thartmann, kvn
hotspot/src/share/vm/compiler/compilerOracle.cpp
--- a/hotspot/src/share/vm/compiler/compilerOracle.cpp	Tue Dec 15 16:55:24 2015 +0100
+++ b/hotspot/src/share/vm/compiler/compilerOracle.cpp	Sat Dec 19 19:06:02 2015 +0100
@@ -247,15 +247,6 @@
   if (_option != NULL) {
     os::free((void*)_option);
   }
-  if (_class_name != NULL) {
-    _class_name->decrement_refcount();
-  }
-  if (_method_name != NULL) {
-    _method_name->decrement_refcount();
-  }
-  if (_signature != NULL) {
-    _signature->decrement_refcount();
-  }
 }
 
 TypedMethodOptionMatcher* TypedMethodOptionMatcher::parse_method_pattern(char*& line, const char*& error_msg) {