8191615: LogCompilation can show bytes
authorecaspole
Tue, 21 Nov 2017 16:27:01 -0500
changeset 48017 24065d1e139c
parent 48016 df39ee817323
child 48018 8bab1e50a28a
child 48019 827e4ac05579
8191615: LogCompilation can show bytes Summary: Print the bytes size of a method as it is now contained in the log Reviewed-by: kvn, vlivanov
src/utils/LogCompilation/src/com/sun/hotspot/tools/compiler/LogParser.java
--- a/src/utils/LogCompilation/src/com/sun/hotspot/tools/compiler/LogParser.java	Tue Nov 21 09:49:52 2017 -0800
+++ b/src/utils/LogCompilation/src/com/sun/hotspot/tools/compiler/LogParser.java	Tue Nov 21 16:27:01 2017 -0500
@@ -898,7 +898,7 @@
             m.setName(parts[1]);
             m.setSignature(parts[2]);
             m.setFlags("0");
-            m.setBytes("unknown");
+            m.setBytes(search(atts, "bytes", "unknown"));
             compile.setMethod(m);
             events.add(compile);
             compiles.put(id, compile);