RFR: 8260589: Crash in JfrTraceIdLoadBarrier::load(_jclass*) [v4]

Denghui Dong ddong at openjdk.java.net
Fri Feb 5 02:44:07 UTC 2021


> hi,
> 
> Could I have a review of this fix?
> 
> If we run the following code snippet, will get a crash
> class JFRDemo {
>     public static void main(String[] args) {
>         Recording r = new Recording();
>         r.enable("MyEvent");
>         r.start();
> 
>         MyEvent event = new MyEvent();
>         event.begin();
>         event.clazz = long.class;
>         event.commit();
>     }
> }
> 
> class MyEvent extends Event {
> 
>     @Label("Class")
>     public Class clazz;
> }

Denghui Dong has updated the pull request incrementally with one additional commit since the last revision:

  Amend copyright

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2295/files
  - new: https://git.openjdk.java.net/jdk/pull/2295/files/811690c0..7ea82d4a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2295&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2295&range=02-03

  Stats: 13 lines in 5 files changed: 4 ins; 2 del; 7 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2295.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2295/head:pull/2295

PR: https://git.openjdk.java.net/jdk/pull/2295


More information about the hotspot-jfr-dev mailing list