RFR: 8235250: Create (test) abstraction for allocating objects that is immune to removal by optimizations
leo.korinth at oracle.com
Wed Dec 4 15:07:01 UTC 2019
On 04/12/2019 15:45, Erik Österlund wrote:
> Hi Leo,
> Looks reasonable to me.
Thanks for your review Erik!
> On 2019-12-04 12:32, Leo Korinth wrote:
>> Please review this change to some tests that is needed for future
>> optimizations. Reference.reachabilityFence seems not to be usable for
>> ensuring GC allocations.
>> I have added a new abstraction Allocation.blackHole(Object obj) for this.
>> currently running tier 1-3 on linux
More information about the hotspot-gc-dev