After JDK-8222480, heap capacity can go down, not just up. The heap logging should take that into account when when printing capacity high/low numbers. Bug: https://bugs.openjdk.java.net/browse/JDK-8231940 Webrev: http://cr.openjdk.java.net/~pliden/8231940/webrev.0 /Per