RFR: 8299125: UnifiedOopRef in JFR leakprofiler should treat thread local oops correctly [v2]
Markus Grönlund
mgronlun at openjdk.org
Tue Jan 3 16:21:48 UTC 2023
On Tue, 3 Jan 2023 14:31:24 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
> > This is introducing some new, very complicated tagging scheme. I don't understand it. What is 0b011 ?
>
> We have three storage/access types in the vm, Native, Raw, Heap. The two lower bits encode this. The only valid low bits are Heap: 0b00, Native: 0b01 and Raw: 0b10. Then each storage area can be use compressed oops or not. Which is the third bit.
>
> `0b011` would be an invalid tag.
I see now it is the mask on 32-bit.
-------------
PR: https://git.openjdk.org/jdk/pull/11741
More information about the hotspot-dev
mailing list