RFR: 8367131: Test com/sun/jdi/ThreadMemoryLeakTest.java fails on 32 bits [v2]

Sergey Bylokhov serb at openjdk.org
Wed Sep 10 01:00:17 UTC 2025


On Tue, 9 Sep 2025 23:54:35 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> "bits == 64 & vm.opt.final.UseCompressedOops" is a common pattern used in testbase, so I just followed it.
>
> this common pattern is good to run with specific coops and on 64-bit only, however in your case expression could be simplified.

an updated version works in a same way, tested:
- 64-bit: with and without -Xcomp, -Xint, -Xmixed, and with/without -+UseCompressedOops
- 32-bit: with and without -Xcomp, -Xint, -Xmixed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27177#discussion_r2335207934


More information about the serviceability-dev mailing list