changeset 51143:dfa8a5be78c4

8206931: Misleading "COMPILE SKIPPED: invalid non-klass dependency" compile log Reviewed-by: vlivanov, never
author shade
date Wed, 11 Jul 2018 08:44:00 +0200
parents 69dc9ea17b33
children 7dc181cb3603
files src/hotspot/share/ci/ciEnv.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/ci/ciEnv.cpp	Thu Jul 19 00:14:40 2018 +0800
+++ b/src/hotspot/share/ci/ciEnv.cpp	Wed Jul 11 08:44:00 2018 +0200
@@ -938,9 +938,9 @@
       _inc_decompile_count_on_failure = false;
       record_failure("call site target change");
     } else if (Dependencies::is_klass_type(result)) {
+      record_failure("concurrent class loading");
+    } else {
       record_failure("invalid non-klass dependency");
-    } else {
-      record_failure("concurrent class loading");
     }
   }
 }