comparison 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
comparison
equal deleted inserted replaced
779:d0e0d6d824d8 780:c96bf21b756f
986 initial_slow_test = NULL; 986 initial_slow_test = NULL;
987 } else { 987 } else {
988 initial_slow_test = BoolNode::make_predicate(initial_slow_test, &_igvn); 988 initial_slow_test = BoolNode::make_predicate(initial_slow_test, &_igvn);
989 } 989 }
990 990
991 if (DTraceAllocProbes || 991 if (C->env()->dtrace_alloc_probes() ||
992 !UseTLAB && (!Universe::heap()->supports_inline_contig_alloc() || 992 !UseTLAB && (!Universe::heap()->supports_inline_contig_alloc() ||
993 (UseConcMarkSweepGC && CMSIncrementalMode))) { 993 (UseConcMarkSweepGC && CMSIncrementalMode))) {
994 // Force slow-path allocation 994 // Force slow-path allocation
995 always_slow = true; 995 always_slow = true;
996 initial_slow_test = NULL; 996 initial_slow_test = NULL;
1148 Node* fast_oop_rawmem = store_eden_top; 1148 Node* fast_oop_rawmem = store_eden_top;
1149 fast_oop_rawmem = initialize_object(alloc, 1149 fast_oop_rawmem = initialize_object(alloc,
1150 fast_oop_ctrl, fast_oop_rawmem, fast_oop, 1150 fast_oop_ctrl, fast_oop_rawmem, fast_oop,
1151 klass_node, length, size_in_bytes); 1151 klass_node, length, size_in_bytes);
1152 1152
1153 if (ExtendedDTraceProbes) { 1153 if (C->env()->dtrace_extended_probes()) {
1154 // Slow-path call 1154 // Slow-path call
1155 int size = TypeFunc::Parms + 2; 1155 int size = TypeFunc::Parms + 2;
1156 CallLeafNode *call = new (C, size) CallLeafNode(OptoRuntime::dtrace_object_alloc_Type(), 1156 CallLeafNode *call = new (C, size) CallLeafNode(OptoRuntime::dtrace_object_alloc_Type(),
1157 CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_object_alloc_base), 1157 CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_object_alloc_base),
1158 "dtrace_object_alloc", 1158 "dtrace_object_alloc",