RFR (XS): 8212766: TestPromotionEventWithG1.java failed due to "RuntimeException: PLAB size is smaller than object size."
thomas.schatzl at oracle.com
Wed Oct 24 13:49:01 UTC 2018
can I have reviews for this change that fixes a bug introduced in
"JDK-8210492 PLAB object promotion events report object sizes in
In JDK-8210492, for some JFR event, the object size has been changed to
be passed in bytes. However the JFR event gets passed another size, the
PLAB size, which has been forgotten to be fixed accordingly.
So it happens that PLAB size (in words) is compared to object size (in
bytes) which fails if PLAB size happens accidentally to be smaller than
This change fixes that.
Test fails with -XX:MinTLABSize=576 -XX:TLABSize=576 without the patch,
More information about the hotspot-gc-dev