Mercurial > hg > graal-compiler
diff src/share/vm/opto/macro.cpp @ 780:c96bf21b756f
6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
Summary: Cache Jvmti and DTrace flags used by Compiler.
Reviewed-by: never
author | kvn |
---|---|
date | Fri, 08 May 2009 10:44:20 -0700 |
parents | f2049ae95c3d |
children | fc4be448891f |
line wrap: on
line diff
--- a/src/share/vm/opto/macro.cpp Fri May 08 10:34:31 2009 -0700 +++ b/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(),