src/share/vm/oops/instanceRefKlass.cpp

changeset 2909
2aa9ddbb9e60
parent 2534
e5383553fd4e
child 3117
eca1193ca245
     1.1 --- a/src/share/vm/oops/instanceRefKlass.cpp	Thu May 12 19:39:58 2011 -0700
     1.2 +++ b/src/share/vm/oops/instanceRefKlass.cpp	Tue May 03 10:30:34 2011 -0700
     1.3 @@ -397,7 +397,7 @@
     1.4  
     1.5    if (referent != NULL) {
     1.6      guarantee(referent->is_oop(), "referent field heap failed");
     1.7 -    if (gch != NULL && !gch->is_in_youngest(obj)) {
     1.8 +    if (gch != NULL && !gch->is_in_young(obj)) {
     1.9        // We do a specific remembered set check here since the referent
    1.10        // field is not part of the oop mask and therefore skipped by the
    1.11        // regular verify code.
    1.12 @@ -415,7 +415,7 @@
    1.13    if (next != NULL) {
    1.14      guarantee(next->is_oop(), "next field verify failed");
    1.15      guarantee(next->is_instanceRef(), "next field verify failed");
    1.16 -    if (gch != NULL && !gch->is_in_youngest(obj)) {
    1.17 +    if (gch != NULL && !gch->is_in_young(obj)) {
    1.18        // We do a specific remembered set check here since the next field is
    1.19        // not part of the oop mask and therefore skipped by the regular
    1.20        // verify code.

mercurial