RFR: 8265129: Add intrinsic support for JVM.getClassId [v7]
Markus Grönlund
mgronlun at openjdk.java.net
Fri May 21 11:27:35 UTC 2021
On Fri, 21 May 2021 11:12:59 GMT, Denghui Dong <ddong at openjdk.org> wrote:
>> src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.inline.hpp line 71:
>>
>>> 69: SET_USED_THIS_EPOCH(klass);
>>> 70: enqueue(klass);
>>> 71: JfrTraceIdEpoch::set_changed_tag_state();
>>
>> JfrTraceIdEpoch::set_changed_tag_state(); here now obviates the need to program signal into the intrinsic so that can be removed. And signal_address() need not be exposed.
>
> `load_barrier` is used by the path for normal class and `JfrTraceIdLoadBarrier::load(const Klass* klass)`
> the path for the primitive class still needs to update the signal.
ah..ok...
-------------
PR: https://git.openjdk.java.net/jdk/pull/3470
More information about the hotspot-compiler-dev
mailing list