RFR: 8292312: Work around memset() called operator new [v2]

Ioi Lam iklam at openjdk.org
Fri Aug 19 00:44:34 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.

Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' of https://github.com/openjdk/jdk into 8292312-work-around-memset-after-operator-new
 - 8292312: Work around memset() called operator new

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9927/files
  - new: https://git.openjdk.org/jdk/pull/9927/files/70d1b352..17fa45bc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9927&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9927&range=00-01

  Stats: 40789 lines in 354 files changed: 18145 ins; 20252 del; 2392 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