RFR: 8297491: Loom: Stack chunks allocation code uses TLABs even when TLABs are disabled

Axel Boldt-Christmas aboldtch at openjdk.org
Wed Nov 23 13:02:13 UTC 2022


On Wed, 23 Nov 2022 11:57:24 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> See the bug for more details. The apparent fix it to just test for `UseTLAB` before reaching for TLAB-specific code.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug, `jdk_loom hotspot_loom`
>  - [x] Linux x86_64 fastdebug, `jdk_loom hotspot_loom` with `-XX:-UseTLAB` (a single JFR test failure that does not expect a log of out-of-TLAB-alloc events, to be fixed separately)

Lgtm.

Just to note, the MemAllocator and stack chunk refactoring in #11111 / [JDK-8296875](https://bugs.openjdk.org/browse/JDK-8296875) fixes this as well.

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

Marked as reviewed by aboldtch (Committer).

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


More information about the hotspot-gc-dev mailing list