RFR: 8269537: memset() is called after operator new [v3]
Leo Korinth
lkorinth at openjdk.java.net
Tue Oct 19 12:23:55 UTC 2021
On Thu, 7 Oct 2021 05:49:24 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Leo Korinth has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Use a thread local buffer so that the compiler might reorder operator new.
>
> src/hotspot/share/asm/codeBuffer.cpp line 143:
>
>> 141: NOT_PRODUCT(clear_strings());
>> 142:
>> 143: assert(_default_oop_recorder.allocated_on_stack_or_embedded(), "should be embedded object");
>
> It might have been better to do this name change separately, to reduce distraction.
I created https://bugs.openjdk.java.net/browse/JDK-8275506 and https://github.com/openjdk/jdk/pull/6004. I will merge that one.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5387
More information about the serviceability-dev
mailing list