RFR: 8310275: Bug in assignment operator of ReservedMemoryRegion [v2]
Ralf Schmelter
rschmelter at openjdk.org
Mon Jul 24 13:27:40 UTC 2023
On Mon, 24 Jul 2023 02:38:13 GMT, David Holmes <dholmes at openjdk.org> wrote:
> ... how would this error manifest in practice? Could any existing test be affected?
We found it during gtests on a JDK 17 alpine build, since in this version the JavaTestThread class overwrote the post:_run() method without deregistering the stack at the VirtualMemoryManager. JDK-8215948 fixed this, so I would not expect any tests to be affected.
Outside of test the code is only executed if a thread calls AttachCurrentThread() and exits without calling DetachCurrentThread.().
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14440#issuecomment-1647905884
More information about the hotspot-runtime-dev
mailing list