RFR: 8292312: Work around memset() called operator new
Ioi Lam
iklam at openjdk.org
Thu Aug 18 21:31:12 UTC 2022
Please review this trivial fix. It blocks my integration for #9849:
- Do not value-initialize the PtrList and PtrTable in the Synchronizer class
- Use a non-default constructor for FixedResourceHashtableStorage
It seems like the problem is always there, but GCC 11 would get tipped the wrong way when I moved the ObjectMonitorsHashtable() constructor from the hpp file to the cpp file in #9849.
I want to make this change independent of #9849 so it can be reviewed separately, and could be backported more easily when necessary.
-------------
Commit messages:
- 8292312: Work around memset() called operator new
Changes: https://git.openjdk.org/jdk/pull/9927/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9927&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292312
Stats: 5 lines in 3 files changed: 1 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/9927.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9927/head:pull/9927
PR: https://git.openjdk.org/jdk/pull/9927
More information about the hotspot-dev
mailing list