RFR: CODETOOLS-7903176: Move LJV inside JOL [v2]

Ivan Ponomarev duke at openjdk.org
Mon Sep 26 13:57:35 UTC 2022


On Mon, 26 Sep 2022 10:07:29 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> jol-core/src/main/java/org/openjdk/jol/ljv/Introspection.java line 32:
>> 
>>> 30: import java.util.List;
>>> 31: 
>>> 32: public interface Introspection {
>> 
>> Now that LJV is in JOL, can we "just" use its internals to introspect stuff, without doing LJV-specific walk? What's the plan here?
>
> This comment is still not addressed.

Well, the situation here is following: we tried to use JOL internals to walk through the graph, but it turned out to be impossible without substantial changes in JOL. So we decided to merge LJV as an addition to JOL and then refactor.

The plan is to bring LJV as is, and then substitute its graph walking logic with JOL's (maybe in Spring 2023 when I have fresh students).

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

PR: https://git.openjdk.org/jol/pull/24


More information about the jol-dev mailing list