diff src/share/vm/graal/graalCompilerToVM.cpp @ 5602:e79b593e0632

made NewInstanceSnippets respect the UseTLAB HotSpot option removed redundant formatting of new instances created by calling the runtime (the runtime call does this already)
author Doug Simon <doug.simon@oracle.com>
date Thu, 14 Jun 2012 14:03:28 +0200
parents faa9628bb37d
children 60ca7d300b8f
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.cpp	Thu Jun 14 14:01:37 2012 +0200
+++ b/src/share/vm/graal/graalCompilerToVM.cpp	Thu Jun 14 14:03:28 2012 +0200
@@ -785,6 +785,7 @@
   set_boolean(env, config, "useFastLocking", UseFastLocking);
   set_boolean(env, config, "useFastNewObjectArray", UseFastNewObjectArray);
   set_boolean(env, config, "useFastNewTypeArray", UseFastNewTypeArray);
+  set_boolean(env, config, "useTLAB", UseTLAB);
   set_int(env, config, "codeEntryAlignment", CodeEntryAlignment);
   set_int(env, config, "vmPageSize", os::vm_page_size());
   set_int(env, config, "stackShadowPages", StackShadowPages);