Skip to content

Commit

Permalink
Automatic merge of jdk:master into master
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Nov 8, 2020
2 parents 682cc58 + f39a2c8 commit 2b25efc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hotspot/share/prims/whitebox.cpp
Expand Up @@ -384,6 +384,11 @@ WB_ENTRY(jboolean, WB_isObjectInOldGen(JNIEnv* env, jobject o, jobject obj))
if (UseZGC) {
return Universe::heap()->is_in(p);
}
#endif
#if INCLUDE_SHENANDOAHGC
if (UseShenandoahGC) {
return Universe::heap()->is_in(p);
}
#endif
GenCollectedHeap* gch = GenCollectedHeap::heap();
return !gch->is_in_young(p);
Expand Down

0 comments on commit 2b25efc

Please sign in to comment.