RFR(S) 8171134: Unexpected output in compiler/aot/SharedUsageTest.java
vladimir.kozlov at oracle.com
Tue Dec 13 04:44:20 UTC 2016
Thank you, Igor
On 12/12/16 8:40 PM, Igor Veresov wrote:
> Looks good.
>> On Dec 12, 2016, at 8:35 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>> AOT requires to have the same compressed oops settings when AOT code is compiled and when it is executed because oop shift values are embedded into decoding instructions.
>> To have the the same heap size and heap base address should be the same. Unfortunately it is not always the same when nothing is specified on command line (HeapBaseMinAddress). And even that does not guarantee matching.
>> If parameters are not the same AOT code will be ignored.
>> But AOT tests incorrectly assume that configuration will be the same.
>> For short fix I am suggesting to switch off compressed oops for few AOT test which could be affected by this issue. The test do not needed COOPs for what they are testing.
More information about the hotspot-compiler-dev