File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ void Method::metaspace_pointers_do(MetaspaceClosure* it) {
410410 }
411411 it->push (&_adapter);
412412 it->push (&_method_data);
413- it->push (&_method_counters);
413+ // it->push(&_method_counters);
414414 NOT_PRODUCT (it->push (&_name);)
415415}
416416
@@ -425,9 +425,6 @@ void Method::remove_unshareable_info() {
425425 if (method_data () != nullptr ) {
426426 method_data ()->remove_unshareable_info ();
427427 }
428- if (method_counters () != nullptr ) {
429- method_counters ()->remove_unshareable_info ();
430- }
431428 if (CDSConfig::is_dumping_adapters () && _adapter != nullptr ) {
432429 _adapter->remove_unshareable_info ();
433430 _adapter = nullptr ;
@@ -440,9 +437,6 @@ void Method::restore_unshareable_info(TRAPS) {
440437 if (method_data () != nullptr ) {
441438 method_data ()->restore_unshareable_info (CHECK);
442439 }
443- if (method_counters () != nullptr ) {
444- method_counters ()->restore_unshareable_info (CHECK);
445- }
446440 if (_adapter != nullptr ) {
447441 assert (_adapter->is_linked (), " must be" );
448442 _from_compiled_entry = _adapter->get_c2i_entry ();
You can’t perform that action at this time.
0 commit comments