diff src/share/vm/runtime/arguments.cpp @ 13280:fbcdae53b17e

force TypeProfileLevel to 0 in GRAAL until HotSpotMethodData is updated to be aware of the new profiling tags
author Doug Simon <doug.simon@oracle.com>
date Tue, 10 Dec 2013 22:09:27 +0100
parents 096c224171c4
children 02f27ecb4f3a
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Tue Dec 10 21:40:12 2013 +0100
+++ b/src/share/vm/runtime/arguments.cpp	Tue Dec 10 22:09:27 2013 +0100
@@ -2336,6 +2336,10 @@
       warning("forcing ScavengeRootsInCode non-zero because Graal is enabled");
       ScavengeRootsInCode = 1;
   }
+  if (TypeProfileLevel != 0) {
+      warning("forcing TypeProfileLevel to 0 as HotSpotMethodData can not yet handle the new type profile info");
+      TypeProfileLevel = 0;
+  }
 #endif
 
   // Need to limit the extent of the padding to reasonable size.