mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
6951083: oops and relocations should part of nmethod not CodeBlob
This moves the oops from Codeblob to nmethod. Reviewed-by: kvn, never
This commit is contained in:
parent
a13355babf
commit
c9f2ba541b
20 changed files with 250 additions and 295 deletions
|
@ -510,9 +510,9 @@ class CodeBuffer: public StackObj {
|
|||
copy_relocations_to(blob);
|
||||
copy_code_to(blob);
|
||||
}
|
||||
void copy_oops_to(CodeBlob* blob) {
|
||||
void copy_oops_to(nmethod* nm) {
|
||||
if (!oop_recorder()->is_unused()) {
|
||||
oop_recorder()->copy_to(blob);
|
||||
oop_recorder()->copy_to(nm);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue