diff src/share/vm/opto/compile.cpp @ 8730:b7c2c5b2572c

8005772: Stubs report compile id -1 in phase events Summary: Use 0 to indicate id is NA, -1 for error or uninitalized Reviewed-by: kvn, twisti
author neliasso
date Wed, 13 Feb 2013 10:25:09 +0100
parents 8651f608fea4
children cc32ccaaf47f
line wrap: on
line diff
--- a/src/share/vm/opto/compile.cpp	Wed Mar 13 13:44:45 2013 +0100
+++ b/src/share/vm/opto/compile.cpp	Wed Feb 13 10:25:09 2013 +0100
@@ -892,7 +892,7 @@
   : Phase(Compiler),
     _env(ci_env),
     _log(ci_env->log()),
-    _compile_id(-1),
+    _compile_id(0),
     _save_argument_registers(save_arg_registers),
     _method(NULL),
     _stub_name(stub_name),