RFR: JMC-7798: Make the frame type extensible [v5]
Jaroslav Bachorik
jbachorik at openjdk.java.net
Tue May 31 09:36:55 UTC 2022
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jmc/pull/401/files
- new: https://git.openjdk.java.net/jmc/pull/401/files/6c8b7596..eb3ffa6b
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jmc&pr=401&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jmc&pr=401&range=03-04
Stats: 7 lines in 2 files changed: 3 ins; 2 del; 2 mod
Patch: https://git.openjdk.java.net/jmc/pull/401.diff
Fetch: git fetch https://git.openjdk.java.net/jmc pull/401/head:pull/401
PR: https://git.openjdk.java.net/jmc/pull/401
More information about the jmc-dev
mailing list