RFR: JMC-7798: Make the frame type extensible [v7]

Christoph Langer clanger at openjdk.java.net
Tue May 31 14:43:27 UTC 2022


On Tue, 31 May 2022 12:20:41 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:

>> This change allows the JMC parser users to consume frames with the type set to non-standard values (eg. from async-profiler).
>> 
>> The hard-wired enum approach is replaced with a hybrid solution keeping the standard types in enum-like structure and using a cache for the non-standard types. This allows being fairly flexible when dealing with new frame types while keeping full backward compatibility.
>
> Jaroslav Bachorik has updated the pull request incrementally with one additional commit since the last revision:
> 
>   A few formatting changes

Thumbs up

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

Marked as reviewed by clanger (Committer).

PR: https://git.openjdk.java.net/jmc/pull/401


More information about the jmc-dev mailing list