RFR: 8282721: HotSpot Style Guide should allow considered use of C++ thread_local

David Holmes dholmes at openjdk.java.net
Tue Mar 8 05:19:41 UTC 2022


On Mon, 7 Mar 2022 19:17:54 GMT, John R Rose <jrose at openjdk.org> wrote:

> Suggested addition to rationale for not using global operator new:
> 
> ```
> Typically, uses of the C++ global operator new are inadvertent and
> therefore often associated with memory leaks.
> ```

Added to the section on "Memory Allocation" as suggested with minor edit (dropped "C++").

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

PR: https://git.openjdk.java.net/jdk/pull/7720


More information about the hotspot-dev mailing list