8145566: PrintNMethods compile command broken since b89
Summary: Decremented Symbol twice
Reviewed-by: thartmann, kvn
--- 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) {