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
--- 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);