equal
deleted
inserted
replaced
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 |