# HG changeset patch # User Doug Simon # Date 1386709767 -3600 # Node ID fbcdae53b17e2fc76e2577f6f11199f081b03077 # Parent 05de8cf71a417a9eeae24eb3a5ab226f86526344 force TypeProfileLevel to 0 in GRAAL until HotSpotMethodData is updated to be aware of the new profiling tags diff -r 05de8cf71a41 -r fbcdae53b17e src/cpu/x86/vm/globals_x86.hpp --- a/src/cpu/x86/vm/globals_x86.hpp Tue Dec 10 21:40:12 2013 +0100 +++ b/src/cpu/x86/vm/globals_x86.hpp Tue Dec 10 22:09:27 2013 +0100 @@ -79,7 +79,8 @@ // GC Ergo Flags define_pd_global(uintx, CMSYoungGenPerWorker, 64*M); // default max size of CMS young gen, per GC worker thread -define_pd_global(uintx, TypeProfileLevel, 111); +// Disabled in GRAAL until HotSpotMethodData is updated to be aware of the new profiling tags +define_pd_global(uintx, TypeProfileLevel, GRAAL_ONLY(0) NOT_GRAAL(111)); #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \ \ diff -r 05de8cf71a41 -r fbcdae53b17e src/share/vm/runtime/arguments.cpp --- 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.