hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 46630 75aa3e39d02c
parent 46562 6608152658ca
child 46697 2fdbdc5e0765
equal deleted inserted replaced
46629:8eeacdc76bf2 46630:75aa3e39d02c
  1076 }
  1076 }
  1077 
  1077 
  1078 void InstanceKlass::call_class_initializer(TRAPS) {
  1078 void InstanceKlass::call_class_initializer(TRAPS) {
  1079   if (ReplayCompiles &&
  1079   if (ReplayCompiles &&
  1080       (ReplaySuppressInitializers == 1 ||
  1080       (ReplaySuppressInitializers == 1 ||
  1081        ReplaySuppressInitializers >= 2 && class_loader() != NULL)) {
  1081        (ReplaySuppressInitializers >= 2 && class_loader() != NULL))) {
  1082     // Hide the existence of the initializer for the purpose of replaying the compile
  1082     // Hide the existence of the initializer for the purpose of replaying the compile
  1083     return;
  1083     return;
  1084   }
  1084   }
  1085 
  1085 
  1086   methodHandle h_method(THREAD, class_initializer());
  1086   methodHandle h_method(THREAD, class_initializer());