[9] RFR(S): 8086068: VM crashes with "-Xint -XX:+UseCompiler" options

Tobias Hartmann tobias.hartmann at oracle.com
Thu Apr 21 07:34:21 UTC 2016


Hi Dmitry,

On 20.04.2016 21:51, Dmitry Dmitriev wrote:
> Hi Tobias,
> 
> Can comment only about new test: I think that you don't need @library and @modules for this simple test. Not need a new webrev for that. Thank you!

Right, I will remove the tags before pushing. Thanks for the review!

Best regards,
Tobias

> Dmitry
> 
> On 20.04.2016 16:46, Tobias Hartmann wrote:
>> Hi,
>>
>> please review the following patch:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8086068
>> http://cr.openjdk.java.net/~thartmann/8086068/webrev.00/
>>
>> The VM crashes in product or fails with an assert in debug if -Xint and -XX:+UseCompiler is set. This is because CodeCache::heap_available() relies on the fact that if Arguments::mode() == _int, no compilation will be triggered. Although UseCompiler is first disabled by -Xint, the flag may be re-enabled if set via command line.
>>
>> The solution is to catch such an inconsistent flag combination, issue a warning and reset the flag.
>>
>> Tested with regression test and RBT (running).
>>
>> Thanks,
>> Tobias
> 


More information about the hotspot-compiler-dev mailing list