RFR (M) 8211131: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[G-I]*

JC Beyler jcbeyler at google.com
Fri Oct 5 18:04:33 UTC 2018


Hi Alex and Serguei,

Thanks for the reviews! I will push it through the submit and then push
then!
Jc

Ps: the really long lines, as you said will get fixed in subsequent CLs so
it should disappear in the very near future

On Tue, Oct 2, 2018 at 10:22 PM <serguei.spitsyn at oracle.com> wrote:

> Hi Jc,
>
> Looks good to me.
>
> Thanks,
> Serguei
>
> On 10/2/18 6:51 AM, JC Beyler wrote:
>
> Hi Alex,
>
> That is because this webrev was done before I added the 100 character
> wrap, which I added when I was generating the next batch of changes. Here
> is the webrev with the new version of the script:
>
> Webrev:  http://cr.openjdk.java.net/~jcbeyler/8211131/webrev.01
> Bug:  https://bugs.openjdk.java.net/browse/JDK-8211131
>
> Thanks, let me know what you think!
> Jc
>
> On Tue, Oct 2, 2018 at 2:56 AM Alex Menkov <alexey.menkov at oracle.com>
> wrote:
>
>> Hi Jc,
>>
>> Looking at your conversion script I expected things like
>>
>>           if (!NSK_JVMTI_VERIFY(
>>                 NSK_CPP_STUB2(AddCapabilities, jvmti, &caps))) {
>>
>> to be converted to
>>
>> if (!NSK_JVMTI_VERIFY(jvmti->AddCapabilities(&caps))) {
>>
>> (then the final string is shorter than 100 symbols)
>>
>> But actually I see
>>
>> if (!NSK_JVMTI_VERIFY(
>> -                NSK_CPP_STUB2(AddCapabilities, jvmti, &caps))) {
>> +                jvmti->AddCapabilities(&caps))) {
>>
>> --alex
>>
>> On 09/26/2018 20:37, JC Beyler wrote:
>> > Hi all,
>> >
>> > I continued the NSK_CPP_STUB removal with this webrev:
>> >
>> > Webrev: http://cr.openjdk.java.net/~jcbeyler/8211131/webrev.00/
>> > <http://cr.openjdk.java.net/%7Ejcbeyler/8211131/webrev.00/>
>> > Bug: https://bugs.openjdk.java.net/browse/JDK-8211131
>> >
>> > This does the first 50 files of the jvmti subfolder, it is done
>> > automatically by the scripts I put in the bug comments.
>> >
>> > Let me know what you think,
>> > Jc
>>
>
>
> --
>
> Thanks,
> Jc
>
>
>

-- 

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


More information about the serviceability-dev mailing list