RFR (XL) 8210385: Clean up JNI_ENV_ARG and factorize the macros for remaining vmTestbase/jvmti tests

JC Beyler jcbeyler at google.com
Fri Sep 7 19:22:16 UTC 2018


Hi Alex,

Sounds good to me, I'll aim between 40~50 files then :)

Here is the jvmti/A-N* remaining refactoring of the JNI_ENV* / JVMTI_ENV*
macros:

I have updated the bug to reflect this:

Webrev: http://cr.openjdk.java.net/~jcbeyler/8210385/webrev.01/
Bug: https://bugs.openjdk.java.net/browse/JDK-8210385

Thanks again!
Jc


On Fri, Sep 7, 2018 at 11:51 AM Alex Menkov <alexey.menkov at oracle.com>
wrote:

> I think ~40-50 files per fix is my maximum :)
>
> --alex
>
> On 09/07/2018 11:37, JC Beyler wrote:
> > Sounds good to me, would you prefer it in 4 webrevs of 1k changes? Or 2
> > webrevs of 2k changes?
> >
> > I can do either easily, so just let me know; your job as the reviewer is
> > harder for these :)
> > Jc
> >
> > On Fri, Sep 7, 2018 at 11:34 AM Alex Menkov <alexey.menkov at oracle.com
> > <mailto:alexey.menkov at oracle.com>> wrote:
> >
> >     Hi Jc,
> >
> >     I'd prefer to see the fix splitted to smaller parts.
> >     The changes are quite simple, but it's just too many files, so it's
> >     impossible (at least for me) to review them accurately.
> >
> >     --alex
> >
> >     On 09/07/2018 10:53, JC Beyler wrote:
> >      > Hi all,
> >      >
> >      > I'm taking the risk to perhaps do something too huge but as it is
> >     the
> >      > same as the previous ones (and the last one!):
> >      >
> >      > It's 4k of changes, for that I apologize. I can divide it up in
> 2/3
> >      > parts again if you want or we can just do it in one go since now
> >     some
> >      > reviewers know what to expect. There still is a bit of
> >     refactoring to
> >      > the vmTestbase but this will in essence finish:
> >      >    - Removing the JNI_ENV* and JVMTI_ENV* macros for the
> vmTestbase
> >      >
> >      > Webrev: http://cr.openjdk.java.net/~jcbeyler/8210385/webrev.00/
> >     <http://cr.openjdk.java.net/%7Ejcbeyler/8210385/webrev.00/>
> >      > <http://cr.openjdk.java.net/%7Ejcbeyler/8210385/webrev.00/>
> >      > Bug: https://bugs.openjdk.java.net/browse/JDK-8210385
> >      >
> >      > Thanks for your reviews and let me know if you would prefer me to
> >     cut it
> >      > up like I did the Get[A-F] & Get[G-Z] ones,
> >      > Jc
> >      >
> >      > Ps: for the curious, then we can start cleaning up the native
> >     code a bit
> >      > more sanely (example: JDK-8191519) and there will be one more
> webrev
> >      > removing #ifdef cplusplus lingering in the vmTestbase
> (JDK-8210481).
> >      >
> >
> >
> >
> > --
> >
> > Thanks,
> > Jc
>


-- 

Thanks,
Jc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20180907/37d10a17/attachment.html>


More information about the serviceability-dev mailing list