< prev index next >
src/share/vm/gc/shared/genCollectedHeap.cpp
Print this page
rev 8456 : GenerationRemovalPart6
rev 8457 : [mq]: increment
*** 327,337 ****
if (PrintGC && Verbose) {
// I didn't want to change the logging when removing the level concept,
// but I guess this logging could say young/old or something instead of 0/1.
uint level;
! if (gen == GenCollectedHeap::heap()->young_gen()) {
level = 0;
} else {
level = 1;
}
gclog_or_tty->print("level=%u invoke=%d size=" SIZE_FORMAT,
--- 327,337 ----
if (PrintGC && Verbose) {
// I didn't want to change the logging when removing the level concept,
// but I guess this logging could say young/old or something instead of 0/1.
uint level;
! if (GenCollectedHeap::heap()->is_young_gen(gen)) {
level = 0;
} else {
level = 1;
}
gclog_or_tty->print("level=%u invoke=%d size=" SIZE_FORMAT,
< prev index next >