RFR: 8328592: hprof tests fail with -XX:-CompactStrings

Paul Hohensee phh at openjdk.org
Wed Mar 20 14:48:20 UTC 2024


On Wed, 20 Mar 2024 09:53:36 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> See the bug for symptoms. The tests are failing because hprof test library is confused about non-compact strings.
> 
> Additional testing:
>  - [x] `serviceability/HeapDump lib-test:all` with `-XX:-CompactStrings` now pass
>  - [x]  `serviceability/HeapDump lib-test:all` with `-XX:+CompactStrings` still pass

Are we guaranteed that non-compact string char component bytes are stored in little-endian order?

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

PR Review: https://git.openjdk.org/jdk/pull/18394#pullrequestreview-1949113961


More information about the hotspot-runtime-dev mailing list