@@ -1677,7 +1677,7 @@ private List<DebugLocalValueInfo> initLocalInfoList(BytecodePosition bcpos, int
16771677 debugContext .log (DebugContext .DETAILED_LEVEL , "locals[%d] %s type %s slot %d" , i , name , type .getName (), slot );
16781678 JavaValue value = (slot < frame .numLocals ? frame .getLocalValue (slot ) : Value .ILLEGAL );
16791679 JavaKind storageKind = (slot < frame .numLocals ? frame .getLocalValueKind (slot ) : JavaKind .Illegal );
1680- debugContext .log (DebugContext .DETAILED_LEVEL , " => %s kind %s" , value . toString () , storageKind . toString () );
1680+ debugContext .log (DebugContext .DETAILED_LEVEL , " => %s kind %s" , value , storageKind );
16811681 int bciStart = l .getStartBCI ();
16821682 int line = (lineNumberTable != null ? lineNumberTable .getLineNumber (bciStart ) : -1 );
16831683 // only add the local if the kinds match
@@ -1686,7 +1686,7 @@ private List<DebugLocalValueInfo> initLocalInfoList(BytecodePosition bcpos, int
16861686 (isPseudoObjectType (type , ownerType ) && kind == JavaKind .Object && storageKind == JavaKind .Long )) {
16871687 localInfos .add (new NativeImageDebugLocalValueInfo (name , value , framesize , storageKind , type , slot , line ));
16881688 } else if (storageKind != JavaKind .Illegal ) {
1689- debugContext .log (DebugContext .DETAILED_LEVEL , " value kind incompatible with var kind %s!" , type .getJavaKind (). toString () );
1689+ debugContext .log (DebugContext .DETAILED_LEVEL , " value kind incompatible with var kind %s!" , type .getJavaKind ());
16901690 }
16911691 }
16921692 }
@@ -1710,7 +1710,7 @@ private List<DebugLocalValueInfo> initSyntheticInfoList(ParamLocationProducer lo
17101710 assert kind == JavaKind .Object : "must be an object" ;
17111711 NativeImageDebugLocalValue value = locProducer .nextLocation (kind );
17121712 debugContext .log (DebugContext .DETAILED_LEVEL , "locals[%d] %s type %s slot %d" , localIdx , name , ownerType .getName (), slot );
1713- debugContext .log (DebugContext .DETAILED_LEVEL , " => %s kind %s" , value . toString () , storageKind . toString () );
1713+ debugContext .log (DebugContext .DETAILED_LEVEL , " => %s kind %s" , value , storageKind );
17141714 localInfos .add (new NativeImageDebugLocalValueInfo (name , value , storageKind , ownerType , slot , line ));
17151715 slot += storageKind .getSlotCount ();
17161716 localIdx ++;
@@ -1723,7 +1723,7 @@ private List<DebugLocalValueInfo> initSyntheticInfoList(ParamLocationProducer lo
17231723 JavaKind storageKind = isPseudoObjectType (paramType , ownerType ) ? JavaKind .Long : kind ;
17241724 NativeImageDebugLocalValue value = locProducer .nextLocation (kind );
17251725 debugContext .log (DebugContext .DETAILED_LEVEL , "locals[%d] %s type %s slot %d" , localIdx , name , ownerType .getName (), slot );
1726- debugContext .log (DebugContext .DETAILED_LEVEL , " => %s kind %s" , value . toString () , storageKind . toString () );
1726+ debugContext .log (DebugContext .DETAILED_LEVEL , " => %s kind %s" , value , storageKind );
17271727 localInfos .add (new NativeImageDebugLocalValueInfo (name , value , storageKind , paramType , slot , line ));
17281728 slot += storageKind .getSlotCount ();
17291729 localIdx ++;
@@ -1810,7 +1810,7 @@ NativeImageDebugLocationInfo merge(NativeImageDebugLocationInfo that) {
18101810 if (this .hi != that .lo ) {
18111811 return null ;
18121812 }
1813- if (method != that .method ) {
1813+ if (! method . equals ( that .method ) ) {
18141814 return null ;
18151815 }
18161816 if (line () != that .line ()) {
0 commit comments