[lilliput-jdk17u:lilliput] RFR: 8310944: [Lilliput/JDK17] Streamline and cleanup GC code [v2]

Aleksey Shipilev shade at openjdk.org
Thu Jun 29 14:25:26 UTC 2023


On Thu, 29 Jun 2023 14:14:14 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

>> src/hotspot/share/oops/oop.inline.hpp line 97:
>> 
>>> 95: markWord oopDesc::prototype_mark() const {
>>> 96:   if (UseCompactObjectHeaders) {
>>> 97:     return klass()->prototype_header();
>> 
>> This is called from `MarkSweep::mark_object`. Shouldn't it then use `forward_safe_klass`?
>
> I don't think that any objects would be forwarded during serial mark-sweep marking phase.

Right, okay.

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

PR Review Comment: https://git.openjdk.org/lilliput-jdk17u/pull/50#discussion_r1246690289


More information about the lilliput-dev mailing list