RFR: 8268635: Corrupt oop in ClassLoaderData [v2]
Coleen Phillimore
coleenp at openjdk.java.net
Wed Jul 7 12:46:54 UTC 2021
On Wed, 7 Jul 2021 01:31:07 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> We worked on writing a test for this but weren't successful. Based on analysis by @stefank this missing call may have been the cause of the crash.
>> Tested with tier1-3.
>
> Coleen Phillimore has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>
> 8268635: Corrupt oop in ClassLoaderData
Thanks David and Xin, thanks for noticing the clearly redundant record_modified_oops. It was left over from when dependency oops were not in the _handles area.
@dholmes-ora Serial and Parallel GC clear modified oops in a safepoint. I don't remember how G1 used this field. It has some mechanism of claiming the CLD. Maybe @tschatzl or Kim can check it out.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4701
More information about the hotspot-runtime-dev
mailing list