changeset 48214:24065d1e139c

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
author ecaspole
date Tue, 21 Nov 2017 16:27:01 -0500
parents df39ee817323
children 8bab1e50a28a 827e4ac05579
files src/utils/LogCompilation/src/com/sun/hotspot/tools/compiler/LogParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);