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

List:       openjdk-serviceability-dev
Subject:    Re: RFR(s): 8235912: JvmtiBreakpoint remove oops_do and metadata_do
From:       Robbin Ehn <robbin.ehn () oracle ! com>
Date:       2019-12-19 12:08:57
Message-ID: 3475ad31-bc61-bd49-6b38-1c008adf7094 () oracle ! com
[Download RAW message or body]

Hi Serguei,

On 12/19/19 5:33 AM, serguei.spitsyn@oracle.com wrote:
> Hi Robbin,
> 
> The fix looks good to me.
> At least, I do not see any issues with it.
> Thank you for removing the unused code!

Thanks!

> 
> Could you be more precise about on what jvmti/jdi tests you run?
> For good test coverage we need these test suites:
> vmTestbase_nsk_jvmti, vmTestbase_nsk_jdi, vmTestbase_nsk_jdb, jdk_jdi

It's these two vmTestbase_nsk_jvmti/vmTestbase_nsk_jdi.

> 
> They have to be present in the t1-7.
> I list them in a case if you want to run them with some specific options.

I took a pass on jdk_jdi, no issues, thanks!

/Robbin

> 
> Thanks,
> Serguei
> 
> 
> On 12/16/19 01:47, Robbin Ehn wrote:
>> Hi all, please review.
>>
>> From issue, https://bugs.openjdk.java.net/browse/JDK-8235912:
>>
>> JvmtiBreakpoints are walked via VMThread oops_do (the breakpoint is in a vm 
>> operation) before they are installed in the safeopint and after they have been 
>> installed, walked with JvmtiCurrentBreakpoints::oops_do().
>> By putting the class holder inside oopStorage there is no need for this.
>>
>> JvmtiCurrentBreakpoints::metadata_do is not needed because redefine classes 
>> actually removes the breakpoints before updating them (so there is no 
>> breakpoints to update).
>> We can just remove metadata_do.
>>
>>
>> I also removed some unused code.
>>
>> Changeset:
>> http://cr.openjdk.java.net/~rehn/8235912/v1/webrev/
>>
>> Passes several runs of nsk jvmti/jdi and t1-7.
>>
>> Thanks, Robbin
> 
[prev in list] [next in list] [prev in thread] [next in thread] 

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