RFR: 8318124: JFR: Rewrite instrumentation to use Class-File API [v3]

Erik Gahlin egahlin at openjdk.org
Mon Oct 16 16:40:52 UTC 2023


On Sun, 15 Oct 2023 23:46:45 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Erik Gahlin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Blessed order
>
> src/jdk.jfr/share/classes/jdk/jfr/internal/EventInstrumentation.java line 227:
> 
>> 225:         for (MethodModel m : classModel.methods()) {
>> 226:             for (MethodElement me : m.elements()) {
>> 227:                 if (me instanceof RuntimeVisibleAnnotationsAttribute rvaa) {
> 
> Same remark, `m.findAttribute(Attributes.RUNTIME_VISIBLE_ANNOTATIONS)`

See above.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16195#discussion_r1360947552


More information about the core-libs-dev mailing list