RFR: 8269537: memset() is called after operator new [v3]
Leo Korinth
lkorinth at openjdk.java.net
Tue Oct 19 13:59:50 UTC 2021
On Thu, 7 Oct 2021 06:18:00 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/memory/memRegion.hpp line 110:
>
>> 108: // A ResourceObj version of MemRegionClosure
>> 109:
>> 110: class MemRegionClosureRO: public ResourceObj {
>
> I think this class could be deleted entirely, with the only derived class (`DirtyCardToOopClosure`) instead deriving from ResourceObj.
I agree.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5387
More information about the serviceability-dev
mailing list