RFR: 8214056: Allow the GC to attach context information to CompiledMethod
erik.osterlund at oracle.com
Mon Nov 19 16:08:50 UTC 2018
Thanks for the review. I liked your idea of having the casting done by
the accessors, like we did for GC data on Thread.
So here is a new webrev with that approach:
On 2018-11-19 16:43, Aleksey Shipilev wrote:
> On 11/19/18 4:27 PM, Erik Österlund wrote:
>> A GC might want extra GC-related information attached to a CompiledMethod.
>> I propose to introduce a type-erased _gc_data member, with accessors.
>> This allows ZGC to stick in some data we need to keep track of concurrent class unloading.
> This looks generally useful. Patch looks good. Having the type-checked abstraction would be nicer,
> of course, but type-erased member would also do.
More information about the hotspot-dev