RFR: 8299125: UnifiedOopRef in JFR leakprofiler should treat thread local oops correctly [v2]

Axel Boldt-Christmas aboldtch at openjdk.org
Tue Jan 3 14:33:52 UTC 2023


On Tue, 3 Jan 2023 13:31:39 GMT, Markus Grönlund <mgronlun 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.

-------------

PR: https://git.openjdk.org/jdk/pull/11741


More information about the hotspot-dev mailing list