RFR: 8260589: Crash in JfrTraceIdLoadBarrier::load(_jclass*) [v5]
Denghui Dong
ddong at openjdk.java.net
Fri Feb 5 02:52:58 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 test
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2295/files
- new: https://git.openjdk.java.net/jdk/pull/2295/files/7ea82d4a..736f2682
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2295&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2295&range=03-04
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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