mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8226690: SIGSEGV in MetadataOnStackClosure::do_metadata
Dont create nmethod if classes have been redefined since compilation start. Reviewed-by: sspitsyn, dlong, eosterlund, gdub
This commit is contained in:
parent
848614a01c
commit
6e1aa9065c
9 changed files with 43 additions and 7 deletions
|
@ -232,9 +232,9 @@ void VM_RedefineClasses::doit() {
|
|||
ResolvedMethodTable::adjust_method_entries(&trace_name_printed);
|
||||
}
|
||||
|
||||
// Set flag indicating that some invariants are no longer true.
|
||||
// Increment flag indicating that some invariants are no longer true.
|
||||
// See jvmtiExport.hpp for detailed explanation.
|
||||
JvmtiExport::set_has_redefined_a_class();
|
||||
JvmtiExport::increment_redefinition_count();
|
||||
|
||||
// check_class() is optionally called for product bits, but is
|
||||
// always called for non-product bits.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue