RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v8]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Mar 31 15:06:30 UTC 2025


On Mon, 31 Mar 2025 14:52:28 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This makes the list behave differently if run normally compared to being run in a debug session. So, I think the current "high impedance" strategy is motivated. The downside is a bit more complex code.

If this is the concern, then having sublists and such work this way was well is important too? E.g. I don't think it's easy to draw a line: any other list or collection generated by stable lists and maps should also behave in this way...

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

PR Comment: https://git.openjdk.org/jdk/pull/23972#issuecomment-2766527095


More information about the hotspot-dev mailing list