[lilliput-jdk17u:lilliput] RFR: 8310944: [Lilliput/JDK17] Streamline and cleanup GC code [v2]
Roman Kennke
rkennke at openjdk.org
Thu Jun 29 14:18:24 UTC 2023
On Thu, 29 Jun 2023 14:13:51 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
>> src/hotspot/share/oops/oop.inline.hpp line 303:
>>
>>> 301: set_mark(forward_safe_klass()->prototype_header());
>>> 302: } else {
>>> 303: set_mark(markWord::prototype());
>>
>> This thing is used from `PreservedMarks::init_forwarded_mark`, which in current 17u upstream calls `oopDesc::init_mark`, which then calls: ` set_mark(markWord::prototype_for_klass(klass()));`.
>>
>> So, does this miss the +BiasedLocking mark prototype?
>
> Right. In-fact, this means we can just fix init_mark() and use that.
Actually, no. We need to resolve the forwardee.
-------------
PR Review Comment: https://git.openjdk.org/lilliput-jdk17u/pull/50#discussion_r1246684614
More information about the lilliput-dev
mailing list