hg: valhalla/valhalla: [lworld]: Fix test failure due to constant pool overflow.

Srikanth srikanth.adayapalam at oracle.com
Tue Feb 4 12:18:02 UTC 2020


This test appears to be carefully handcrafted to construct a "Big 
Object" with as many fields as the constant pool's size restrictions 
would allow. With the auto injection of new super interface top type, we 
run out of constant pool indices and the program does not compile anymore.

I have modified the test so it is compiled with the option 
-XDnoTopInterfaceInjection to javac that short circuits the new super 
interface injection algorithm.

Srikanth

On 03/02/20 6:54 pm, srikanth.adayapalam at oracle.com wrote:
> Changeset: aba88f79b64e
> Author:    sadayapalam
> Date:      2020-02-03 18:54 +0530
> URL:       https://hg.openjdk.java.net/valhalla/valhalla/rev/aba88f79b64e
>
> [lworld]: Fix test failure due to constant pool overflow.
>
> ! test/hotspot/jtreg/gc/TestBigObj.java
>




More information about the valhalla-dev mailing list