RFR(S): 8010770 : Zero: back port of 8000780 to HS24 broke JSR 292

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Apr 22 08:00:42 PDT 2013

Looks good.


On 4/21/13 2:06 PM, David Chase wrote:
> Bug: changes made to Zero for jdk8 compatibility broke jsr292 when they were backported
> to HS24.  This patch fixes that.
> Fix: from Volker Simonis
> "I've just realized that something must have gone wrong during the downport of 8000780 to hsx24 (probably because of the change of the content of the f1 and f2 fields in the ConstantPoolCacheEntry between hsx24 and hsx25). Unfortunately now both, '_invokedynamic' as well as '_invokehandle' don't work in the CC-interpreter anymore. The attached patch (against hsx24) fixes the problem and lets the Zero-VM pass the java/lang/invoke JTreg tests again.
> These changes are needed for making JSR292 work in the Zero-port in jdk7u with hsx24."
> Testing:
> 1) jtreg with zero applied to jdk/test/java/lang/invoke -- very broken without patch, works with patch.
> 2) JPRT
> Repositories used for test:
> http://hg.openjdk.java.net/jdk7u/jdk7u-dev + http://hg.openjdk.java.net/hsx/hsx24/hotspot/hotspot
> Webrev: http://cr.openjdk.java.net/~drchase/8010770/webrev.00/

More information about the hotspot-compiler-dev mailing list