RFR: 8309599: WeakHandle and OopHandle release should clear obj pointer
Coleen Phillimore
coleenp at openjdk.org
Thu Sep 28 12:03:36 UTC 2023
On Thu, 28 Sep 2023 01:46:37 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Hmmm okay - it seems fragile to have a psuedo-destructor in release().
I don't know what this comment means. It was fragile to *not* have release destroy the _obj pointer, which was the cause of the original confusion and problems while fixing the object monitor deflation code.
Thanks Kim and David for the code reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15920#issuecomment-1739005387
More information about the serviceability-dev
mailing list