1.1 --- a/src/share/vm/opto/macro.cpp Fri May 08 10:34:31 2009 -0700 1.2 +++ b/src/share/vm/opto/macro.cpp Fri May 08 10:44:20 2009 -0700 1.3 @@ -988,7 +988,7 @@ 1.4 initial_slow_test = BoolNode::make_predicate(initial_slow_test, &_igvn); 1.5 } 1.6 1.7 - if (DTraceAllocProbes || 1.8 + if (C->env()->dtrace_alloc_probes() || 1.9 !UseTLAB && (!Universe::heap()->supports_inline_contig_alloc() || 1.10 (UseConcMarkSweepGC && CMSIncrementalMode))) { 1.11 // Force slow-path allocation 1.12 @@ -1150,7 +1150,7 @@ 1.13 fast_oop_ctrl, fast_oop_rawmem, fast_oop, 1.14 klass_node, length, size_in_bytes); 1.15 1.16 - if (ExtendedDTraceProbes) { 1.17 + if (C->env()->dtrace_extended_probes()) { 1.18 // Slow-path call 1.19 int size = TypeFunc::Parms + 2; 1.20 CallLeafNode *call = new (C, size) CallLeafNode(OptoRuntime::dtrace_object_alloc_Type(),