mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8222841: Incorrect static call stub interactions with class unloading
Reviewed-by: kvn, coleenp
This commit is contained in:
parent
cc6cc06183
commit
5dd18ea628
12 changed files with 112 additions and 44 deletions
|
@ -1555,7 +1555,7 @@ void nmethod::metadata_do(MetadataClosure* f) {
|
|||
// Visit all immediate references that are embedded in the instruction stream.
|
||||
RelocIterator iter(this, oops_reloc_begin());
|
||||
while (iter.next()) {
|
||||
if (iter.type() == relocInfo::metadata_type ) {
|
||||
if (iter.type() == relocInfo::metadata_type) {
|
||||
metadata_Relocation* r = iter.metadata_reloc();
|
||||
// In this metadata, we must only follow those metadatas directly embedded in
|
||||
// the code. Other metadatas (oop_index>0) are seen as part of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue