Integrated: 8297570: jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with -XX:-UseTLAB

Aleksey Shipilev shade at openjdk.org
Mon Nov 28 14:54:09 UTC 2022


On Thu, 24 Nov 2022 11:32:29 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> This is the only test in `jdk_loom` that fails without `-XX:-UseTLAB`. The test specifically looks for `ObjectAllocationOutsideTLAB` event, and there are lots of those events with `-XX:-UseTLAB`. We can fix the test to look for the event we actually want.
> 
> This depends on [JDK-8297491](https://bugs.openjdk.org/browse/JDK-8297491) that fixed Loom code to actually disable TLABs.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug, affected test with `-XX:+UseTLAB` and `-XX:-UseTLAB`
>  - [x] Linux x86_64 fastdebug, `jdk_loom` with `{Serial, Parallel, G1, Shenandoah, Z} x {+UseTLAB, -UseTLAB}`

This pull request has now been integrated.

Changeset: 405b1886
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/405b1886b3924a7b5d258b7e8190802d489c6ab5
Stats:     36 lines in 1 file changed: 20 ins; 2 del; 14 mod

8297570: jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with -XX:-UseTLAB

Reviewed-by: mgronlun

-------------

PR: https://git.openjdk.org/jdk/pull/11352


More information about the hotspot-jfr-dev mailing list