changeset 14391 | df0a1573d5bd |
parent 13897 | 4d2ca6fb1285 |
child 14488 | ab48109f7d1b |
--- a/hotspot/src/share/vm/code/nmethod.cpp Thu Oct 04 14:55:57 2012 +0200 +++ b/hotspot/src/share/vm/code/nmethod.cpp Tue Nov 06 15:09:37 2012 -0500 @@ -1263,7 +1263,7 @@ assert(_entry_bci != InvocationEntryBci, "wrong kind of nmethod"); // Remove from list of active nmethods if (method() != NULL) - InstanceKlass::cast(method()->method_holder())->remove_osr_nmethod(this); + method()->method_holder()->remove_osr_nmethod(this); // Set entry as invalid _entry_bci = InvalidOSREntryBci; }