RFR(S): 8199532: AbstractMethodErrorTest.java test failed with -Xcomp
vladimir.kozlov at oracle.com
Wed Mar 14 00:12:43 UTC 2018
On 3/13/18 5:09 PM, David Holmes wrote:
> On 14/03/2018 7:41 AM, Vladimir Kozlov wrote:
>> Thank you, Goetz
>> -Xcomp passed now.
>> I tried other flags we use for testing. And it failed when Tiered is
>> off: -XX:-TieredCompilation or -XX:+TieredCompilation
>> Stupid question. Why we have different messages for compiler and
>> interpreter? The problem is the same.
> The difference is whether information on the receiver class is available.
>> -Xcomp flag also set -Xbatch flag so you don't need it in comment:
>> + // Seen if test started with -Xcomp -Xbatch:
>> On 3/13/18 2:14 PM, Lindenmaier, Goetz wrote:
>>> AbstractMethodErrorTest fails with -Xcomp because
>>> other exception messages are printed if the error happens
>>> in comiled code.
>>> I hardened the test.
>>> Please review:
>>> Best regards,
More information about the hotspot-runtime-dev