RFR: JDK-8162111: Invalid TOS2 value is printed by tracebytecodes

Sergey Nazarkin snazarkin at azul.com
Thu Jul 21 14:41:30 UTC 2016


Hi!

Please review small fix for  verbose mode of tracebytecodes 
Test class:
public class LongSquare {
public static long square(long d) {
return d*d;
}
public static void main(String[] args) {
System.out.println(square(Long.MAX_VALUE/10));
}
}

Before fix:
[20880] static jlong LongSquare.square(jlong)
[20880]   509428     0  0x00000009 0x00000000 lload_0
[20880]   509429     1  0xcccccccc 0x00000000 lload_0
[20880]   509430     2  0xcccccccc 0x00000000 lmul
After fix:
[26258] static jlong LongSquare.square(jlong)
[26258]   509428     0  0x00000009 0x0ccccccc lload_0
[26258]   509429     1  0xcccccccc 0x0ccccccc lload_0
[26258]   509430     2  0xcccccccc 0x0ccccccc lmul


Issue: https://bugs.openjdk.java.net/browse/JDK-8162111
Webrev: http://cr.openjdk.java.net/~snazarki/8162111/

Sergey Nazarkin






More information about the aarch32-port-dev mailing list