hotspot/src/cpu/x86/vm/c1_MacroAssembler_x86.cpp
changeset 2867 69187054225f
parent 1066 717c3345024f
child 3261 c7d5aae8d3f7
--- a/hotspot/src/cpu/x86/vm/c1_MacroAssembler_x86.cpp	Fri May 08 10:34:31 2009 -0700
+++ b/hotspot/src/cpu/x86/vm/c1_MacroAssembler_x86.cpp	Fri May 08 10:44:20 2009 -0700
@@ -258,7 +258,7 @@
     }
   }
 
-  if (DTraceAllocProbes) {
+  if (CURRENT_ENV->dtrace_alloc_probes()) {
     assert(obj == rax, "must be");
     call(RuntimeAddress(Runtime1::entry_for(Runtime1::dtrace_object_alloc_id)));
   }
@@ -291,7 +291,7 @@
   const Register len_zero = len;
   initialize_body(obj, arr_size, header_size * BytesPerWord, len_zero);
 
-  if (DTraceAllocProbes) {
+  if (CURRENT_ENV->dtrace_alloc_probes()) {
     assert(obj == rax, "must be");
     call(RuntimeAddress(Runtime1::entry_for(Runtime1::dtrace_object_alloc_id)));
   }