RFR[9u-dev]: 8150900: Implement diagnostic_pd

Cheleswer Sahu cheleswer.sahu at oracle.com
Tue May 3 06:34:06 UTC 2016


Hi Gerard,


> -----Original Message-----
> From: Gerard Ziemski
> Sent: Monday, May 02, 2016 9:07 PM
> To: Cheleswer Sahu
> Cc: hotspot-runtime-dev at openjdk.java.net; serviceability-
> dev at openjdk.java.net
> Subject: Re: RFR[9u-dev]: 8150900: Implement diagnostic_pd
> 
> hi Cheleswer,
> 
> 
> #1 Shouldn’t the following files be modified as well? :
> 
> open:
> 
> src/cpu/sparc/vm/globals_sparc.hpp
> src/cpu/x86/vm/globals_x86.hpp
> src/cpu/zero/vm/globals_zero.hpp
> 
> closed:
> 
> cpu/arm/vm/globals_arm.hpp

I have implemented  "diagnostic_pd" using "product_pd" as a reference implementation. "product_pd" is not implemented for " ARCH_FLAGS ",  therefore I have also not implemented "diagnostic_pd" for "ARCH_FLAGS"  type.

> share/vm/runtime/globals_ext.hpp
> share/vm/runtime/os_ext.hpp

These 2 files are under closed repository, so I have initiated a separate internal review request for those changes.

> 
> 
> #2 Bunch of header files need to be updated with 2016 for Copyright:
> 
> /*
> - * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
>  * ORACLE PROPRIETARY/CONFIDENTIAL.  Use is subject to license terms.
>  */
> 
> 
I agree, I will update the copyright headers.

> #3 What tests have you run? Did you do:
> 
> a) JPRT hotspot
> b) RBT hs-nightly-runtime
>
I have run JPRT hostspot tests for this. It shows no error.
 
> Please email me if you need help with those.
> 
> 
> #4 Just heads up that I will be shortly asking for review of my fix
> (https://bugs.openjdk.java.net/browse/JDK-8073500), which touches many
> of the same file, so one of us will have a tricky merge
> 
Thanks for informing about this. 


Regards,
Cheleswer 

> 
> cheers
> 
> > On May 2, 2016, at 4:51 AM, Cheleswer Sahu
> <cheleswer.sahu at oracle.com> wrote:
> >
> > Hi,
> >
> >
> >
> > Please review the code changes for
> https://bugs.openjdk.java.net/browse/JDK-8150900.
> >
> >
> >
> > Webrev Link: http://cr.openjdk.java.net/~csahu/8150900/webrev.00/
> >
> >
> >
> > Enhancement Brief:  A new variant of flag "diagnostic_pd" is implemented.
> All flags which are diagnostic in nature and platform dependent can be placed
> >
> > under this variant. These flags can be enable using  "-
> XX:+UnlockDiagnosticVMOptions".
> >
> > At present I have placed 4 flags under "diagnostic_pd"
> >
> > 1.        1. InitArrayShortSize
> >
> > 2.        2. ImplicitNullChecks
> >
> > 3.        3. InlineFrequencyCount
> >
> > 4.        4. PostLoopMultiversioning
> >
> >
> >
> >
> >
> > Regards,
> >
> > Cheleswer
> 


More information about the hotspot-runtime-dev mailing list