[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    RE: FW: RFR(XXS): 8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invari
From:       Markus Gronlund <markus.gronlund () oracle ! com>
Date:       2018-10-31 8:05:14
Message-ID: 660c7c93-ef39-484b-a61e-3738e7fa7d70 () default
[Download RAW message or body]

Thanks a lot David!

Markus

-----Original Message-----
From: David Holmes 
Sent: den 31 oktober 2018 09:05
To: Markus Gronlund <markus.gronlund@oracle.com>; \
                hotspot-runtime-dev@openjdk.java.net
Subject: Re: FW: RFR(XXS): 8213172: CDS and JFR tests fail with \
assert(JdkJfrEvent::is(klass)) failed: invariant

Looks good Markus - and trivial! Ship it!

Thanks,
David

On 31/10/2018 5:50 PM, Markus Gronlund wrote:
> Sending this to a larger set of people, in order to get a fix to the CI pipeline \
> sooner. 
> Thanks
> Markus
> 
> -----Original Message-----
> From: Markus Gronlund
> Sent: den 31 oktober 2018 07:28
> To: hotspot-jfr-dev@openjdk.java.net; Jiangli Zhou <jiangli.zhou@oracle.com>; Ioi \
>                 Lam <ioi.lam@oracle.com>; Calvin Cheung <calvin.cheung@oracle.com>
> Subject: RFR(XXS): 8213172: CDS and JFR tests fail with \
> assert(JdkJfrEvent::is(klass)) failed: invariant 
> Hello,
> 
> JDK-8203629 changed the top level JFR event class hierarchy from jdk.jfr.Event to \
> jdk.internal.event.Event. 
> Unfortunately the CDS exclusion filter for the JFR event classes was not updated \
> accordingly, so let's do that here instead: 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8213172
> Webrev: http://cr.openjdk.java.net/~mgronlun/8213172/webrev01/
> 
> This change makes the adjustment to dictionary.cpp:
> 
> diff -r 385609cec1f8 src/hotspot/share/classfile/dictionary.cpp
> --- a/src/hotspot/share/classfile/dictionary.cpp Wed Oct 31 05:26:07 2018 +0100
> +++ b/src/hotspot/share/classfile/dictionary.cpp Wed Oct 31 06:05:04 2018 +0100
> @@ -468,7 +468,7 @@
> #if INCLUDE_CDS
> static bool is_jfr_event_class(Klass *k) {
> while (k) {
> - if (k->name()->equals("jdk/jfr/Event")) {
> + if (k->name()->equals("jdk/internal/event/Event")) {
> return true;
> }
> k = k->super();
> 
> 
> Tests:
> open/test/hotspot/jtreg/:hotspot_appcds
> tier1, tier2, tier3
> 
> Thanks
> Markus
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic