RFR: JDK-8206007: nsk/jdb/exclude001 test is taking a long time on some builds

Gary Adams gary.adams at oracle.com
Fri Jul 6 12:55:19 UTC 2018


This change reduces the test by ~180K method observations (29%).
It also depends on less complicated methods. e.g. VirtualMachineManager
deals with more class and service loaders

On 7/5/18, 5:28 PM, Chris Plummer wrote:
> Hi Gary,
>
> The changes look good. How much is the reducing execution by?
>
> thanks,
>
> Chris
>
> On 7/5/18 7:48 AM, Gary Adams wrote:
>> A simple test run using "exclude none" shows 625K methods are being 
>> observed.
>> The bulk of those methods were due to the last class accessed in the 
>> test - VirtualMachineManager.
>>
>> It's not important that this particular call is used. The test is 
>> simply demonstrating that
>> filters work for other packages than java and javax.
>>
>> This proposed fix uses a simpler lookup for GregorianCalendar.
>>
>>   Issue: https://bugs.openjdk.java.net/browse/JDK-8206007
>>   Webrev: http://cr.openjdk.java.net/~gadams/8206007/webrev.00/
>
>
>



More information about the serviceability-dev mailing list