RFR(S) 8028595 : WhiteBox API for stress testing of TieredCompilation

Igor Ignatyev igor.ignatyev at oracle.com
Tue Dec 2 09:32:19 UTC 2014


Vladimir,

I need Unsafe.getCompiler for DeoptimizeFramesTest, because in 
'non-makeNotEntrant' case, there's no way to determine if the method was 
deoptimized.

Thanks,
Igor

On 12/02/2014 04:54 AM, Vladimir Kozlov wrote:
> Why you need new Unsafe.getCompiler()?
>
> thanks,
> Vladimir
>
> On 11/27/14 2:14 PM, Igor Ignatyev wrote:
>> http://cr.openjdk.java.net/~iignatyev/8028595/hotspot/webrev.00/
>> 220 lines changed: 212 ins; 8 del; 0 mod;
>>
>> http://cr.openjdk.java.net/~iignatyev/8028595/jdk/webrev.00/
>> 4 lines changed: 4 ins; 0 del; 0 mod;
>>
>> Hi all,
>>
>> please review the patch which adds
>>   - a new whitebox method 'deoptimizeFrames' which deoptimizes methods
>> which are currently on stack
>>   - Unsafe.getCompiler methodhotspot-compiler-dev at openjdk.java.net which
>> returns 0, 1, 2 if it is interpreted, compiled by c1, c2 accordingly.
>>
>> jbs: https://bugs.openjdk.java.net/browse/JDK-8028595
>> testing: jprt + new added test
>>


More information about the hotspot-compiler-dev mailing list