Integrated: 8292312: Work around memset() called operator new

Ioi Lam iklam at openjdk.org
Fri Aug 19 03:09:34 UTC 2022


On Thu, 18 Aug 2022 20:15:31 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 2edd5501
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2edd5501054df5792316bcd32208e603d43951c4
Stats:     5 lines in 3 files changed: 1 ins; 0 del; 4 mod

8292312: Work around memset() called operator new

Reviewed-by: dcubed

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

PR: https://git.openjdk.org/jdk/pull/9927


More information about the hotspot-dev mailing list