hotspot/src/share/vm/oops/cpCacheOop.cpp
changeset 9116 9bc44be338d6
parent 8725 8c1e3dd5fe1b
child 9328 144894b3384b
equal deleted inserted replaced
9115:5a28312aa393 9116:9bc44be338d6
   183                       (intptr_t)method(), vtable_index);
   183                       (intptr_t)method(), vtable_index);
   184         method->print();
   184         method->print();
   185         this->print(tty, 0);
   185         this->print(tty, 0);
   186       }
   186       }
   187       assert(method->can_be_statically_bound(), "must be a MH invoker method");
   187       assert(method->can_be_statically_bound(), "must be a MH invoker method");
   188       assert(AllowTransitionalJSR292 || _f2 >= constantPoolOopDesc::CPCACHE_INDEX_TAG, "BSM index initialized");
   188       assert(_f2 >= constantPoolOopDesc::CPCACHE_INDEX_TAG, "BSM index initialized");
   189       // SystemDictionary::find_method_handle_invoke only caches
   189       // SystemDictionary::find_method_handle_invoke only caches
   190       // methods which signature classes are on the boot classpath,
   190       // methods which signature classes are on the boot classpath,
   191       // otherwise the newly created method is returned.  To avoid
   191       // otherwise the newly created method is returned.  To avoid
   192       // races in that case we store the first one coming in into the
   192       // races in that case we store the first one coming in into the
   193       // cp-cache atomically if it's still unset.
   193       // cp-cache atomically if it's still unset.