RFR: JDK-8151602: Make logging in refillLinearAllocBlockIfNeeded() available (original) (raw)
Thomas Schatzl thomas.schatzl at oracle.com
Thu Mar 10 10:28:07 UTC 2016
- Previous message (by thread): RFR: JDK-8151602: Make logging in refillLinearAllocBlockIfNeeded() available
- Next message (by thread): RFR: JDK-8151602: Make logging in refillLinearAllocBlockIfNeeded() available
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Bengt,
On Thu, 2016-03-10 at 10:59 +0100, Bengt Rutisson wrote:
Hi everyone,
Could I have a couple of reviews for this change? http://cr.openjdk.java.net/~brutisso/8151602/webrev.00 https://bugs.openjdk.java.net/browse/JDK-8151602 In CompactibleFreeListSpace::refillLinearAllocBlockIfNeeded() we have this code: if (PrintMiscellaneous && Verbose) { if (blk->wordsize == 0) { warning("CompactibleFreeListSpace(prologue):: Linear allocation failure"); } It is a bit strange to guard a warning() this way. Verbose is a develop flag so the warning is never printed in product builds. This is also the only use of PrintMiscellaneous in the GC code.
Wouldn't it be better to just remove the code then (maybe make an assert out of it)? Apparently nobody ever cared about it anyway.
Thanks, Thomas
- Previous message (by thread): RFR: JDK-8151602: Make logging in refillLinearAllocBlockIfNeeded() available
- Next message (by thread): RFR: JDK-8151602: Make logging in refillLinearAllocBlockIfNeeded() available
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]