src/hotspot/share/oops/method.cpp
changeset 58447 319173c62caa
parent 58226 408c445d04e8
child 58545 725244418646
equal deleted inserted replaced
58446:5c83830390ba 58447:319173c62caa
   977 #if INCLUDE_CDS
   977 #if INCLUDE_CDS
   978 // Called by class data sharing to remove any entry points (which are not shared)
   978 // Called by class data sharing to remove any entry points (which are not shared)
   979 void Method::unlink_method() {
   979 void Method::unlink_method() {
   980   _code = NULL;
   980   _code = NULL;
   981 
   981 
   982   assert(DumpSharedSpaces || DynamicDumpSharedSpaces, "dump time only");
   982   Arguments::assert_is_dumping_archive();
   983   // Set the values to what they should be at run time. Note that
   983   // Set the values to what they should be at run time. Note that
   984   // this Method can no longer be executed during dump time.
   984   // this Method can no longer be executed during dump time.
   985   _i2i_entry = Interpreter::entry_for_cds_method(this);
   985   _i2i_entry = Interpreter::entry_for_cds_method(this);
   986   _from_interpreted_entry = _i2i_entry;
   986   _from_interpreted_entry = _i2i_entry;
   987 
   987