mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops. Reviewed-by: twisti, kvn, never, jmasa, ysr
This commit is contained in:
parent
1cf5b7ae11
commit
e261aecad8
74 changed files with 979 additions and 279 deletions
|
@ -302,7 +302,7 @@ void Dependencies::encode_content_bytes() {
|
|||
bytes.write_byte(code_byte);
|
||||
for (int j = 0; j < stride; j++) {
|
||||
if (j == skipj) continue;
|
||||
bytes.write_int(_oop_recorder->find_index(deps->at(i+j)->encoding()));
|
||||
bytes.write_int(_oop_recorder->find_index(deps->at(i+j)->constant_encoding()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue