8226389 [asm] : jlink tests fail; asm has wrong understanding of new bytecodes

Roger Riggs Roger.Riggs at oracle.com
Wed Jun 19 17:57:06 UTC 2019

Hi Mandy,


A more robust version that computes the necessary offsets of the ASM_ 
to relocate them to the unused indexes above the new WithField opcode.

Thanks, Roger

On 6/19/19 12:22 PM, Mandy Chung wrote:
> On 6/19/19 7:47 AM, Roger Riggs wrote:
>> Please review a patch to asm to correctly recognize the Valhalla 
>> defined bytecodes for defaultvalue and withfield.
>> (The jlink tests that read and write classfiles were failing).
>> Webrev:
>>   http://cr.openjdk.java.net/~rriggs/webrev-asm-8226389/
> Label::resolve method depends on the assumption that IFEQ  ... JSR can 
> be changed to ASM_IFEQ to ASM_JSR.   It seems that the xxx_DELTA  
> needs to be adjusted.
> Mandy

More information about the valhalla-dev mailing list