JDK 20 |
---|
20 b25Fixed |
Blocks :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
Class redefinition needs to scan for all nmethods, including is_unloading ones. If it doesn't, the Method can get nuked and then a concurrent GC will trip on it and crash. The normal iterator used by class redefinition uses the right iterator, but there is an optmized table being used in CodeCache::old_nmethods_do, and it inconsistently does filter is_unloading nmethods, which is a bug.
|