changeset 58447 | 319173c62caa |
parent 58226 | 408c445d04e8 |
child 58545 | 725244418646 |
--- a/src/hotspot/share/oops/method.cpp Wed Oct 02 13:57:03 2019 -0400 +++ b/src/hotspot/share/oops/method.cpp Wed Oct 02 16:55:08 2019 -0700 @@ -979,7 +979,7 @@ void Method::unlink_method() { _code = NULL; - assert(DumpSharedSpaces || DynamicDumpSharedSpaces, "dump time only"); + Arguments::assert_is_dumping_archive(); // Set the values to what they should be at run time. Note that // this Method can no longer be executed during dump time. _i2i_entry = Interpreter::entry_for_cds_method(this);