mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
7041789: 30% perf regression with c2/arm following 7017732
Implement a more accurate is_scavengable() Reviewed-by: stefank, jcoomes, ysr
This commit is contained in:
parent
8cdd97938c
commit
6819e3739e
12 changed files with 132 additions and 36 deletions
|
@ -397,7 +397,7 @@ void instanceRefKlass::oop_verify_on(oop obj, outputStream* st) {
|
|||
|
||||
if (referent != NULL) {
|
||||
guarantee(referent->is_oop(), "referent field heap failed");
|
||||
if (gch != NULL && !gch->is_in_youngest(obj)) {
|
||||
if (gch != NULL && !gch->is_in_young(obj)) {
|
||||
// We do a specific remembered set check here since the referent
|
||||
// field is not part of the oop mask and therefore skipped by the
|
||||
// regular verify code.
|
||||
|
@ -415,7 +415,7 @@ void instanceRefKlass::oop_verify_on(oop obj, outputStream* st) {
|
|||
if (next != NULL) {
|
||||
guarantee(next->is_oop(), "next field verify failed");
|
||||
guarantee(next->is_instanceRef(), "next field verify failed");
|
||||
if (gch != NULL && !gch->is_in_youngest(obj)) {
|
||||
if (gch != NULL && !gch->is_in_young(obj)) {
|
||||
// We do a specific remembered set check here since the next field is
|
||||
// not part of the oop mask and therefore skipped by the regular
|
||||
// verify code.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue