RFR: 8310275: Bug in assignment operator of ReservedMemoryRegion [v2]

David Holmes dholmes at openjdk.org
Wed Jul 26 07:12:40 UTC 2023


On Wed, 19 Jul 2023 13:00:10 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

>> 8310275: Bug in assignment operator of ReservedMemoryRegion
>
> Ralf Schmelter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed test name

> > ... how would this error manifest in practice? Could any existing test be affected?
> 
> Outside of test the code is only executed if a thread calls AttachCurrentThread() and exits without calling DetachCurrentThread.().

Sorry but how can a thread not detaching before exiting cause our buggy RMR assignment operator to be called??

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

PR Comment: https://git.openjdk.org/jdk/pull/14440#issuecomment-1651106035


More information about the hotspot-runtime-dev mailing list