hotspot/src/share/vm/opto/macro.cpp
changeset 2867 69187054225f
parent 2532 da0b1680593b
child 3268 f034e0c86895
--- a/hotspot/src/share/vm/opto/macro.cpp	Fri May 08 10:34:31 2009 -0700
+++ b/hotspot/src/share/vm/opto/macro.cpp	Fri May 08 10:44:20 2009 -0700
@@ -988,7 +988,7 @@
     initial_slow_test = BoolNode::make_predicate(initial_slow_test, &_igvn);
   }
 
-  if (DTraceAllocProbes ||
+  if (C->env()->dtrace_alloc_probes() ||
       !UseTLAB && (!Universe::heap()->supports_inline_contig_alloc() ||
                    (UseConcMarkSweepGC && CMSIncrementalMode))) {
     // Force slow-path allocation
@@ -1150,7 +1150,7 @@
                                         fast_oop_ctrl, fast_oop_rawmem, fast_oop,
                                         klass_node, length, size_in_bytes);
 
-    if (ExtendedDTraceProbes) {
+    if (C->env()->dtrace_extended_probes()) {
       // Slow-path call
       int size = TypeFunc::Parms + 2;
       CallLeafNode *call = new (C, size) CallLeafNode(OptoRuntime::dtrace_object_alloc_Type(),