Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_MacroAssembler_x86.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 | dc7f315e41f7 |
children | bd02caa94611 |
comparison
equal
deleted
inserted
replaced
779:d0e0d6d824d8 | 780:c96bf21b756f |
---|---|
256 decrement(index); | 256 decrement(index); |
257 jcc(Assembler::notZero, loop); | 257 jcc(Assembler::notZero, loop); |
258 } | 258 } |
259 } | 259 } |
260 | 260 |
261 if (DTraceAllocProbes) { | 261 if (CURRENT_ENV->dtrace_alloc_probes()) { |
262 assert(obj == rax, "must be"); | 262 assert(obj == rax, "must be"); |
263 call(RuntimeAddress(Runtime1::entry_for(Runtime1::dtrace_object_alloc_id))); | 263 call(RuntimeAddress(Runtime1::entry_for(Runtime1::dtrace_object_alloc_id))); |
264 } | 264 } |
265 | 265 |
266 verify_oop(obj); | 266 verify_oop(obj); |
289 | 289 |
290 // clear rest of allocated space | 290 // clear rest of allocated space |
291 const Register len_zero = len; | 291 const Register len_zero = len; |
292 initialize_body(obj, arr_size, header_size * BytesPerWord, len_zero); | 292 initialize_body(obj, arr_size, header_size * BytesPerWord, len_zero); |
293 | 293 |
294 if (DTraceAllocProbes) { | 294 if (CURRENT_ENV->dtrace_alloc_probes()) { |
295 assert(obj == rax, "must be"); | 295 assert(obj == rax, "must be"); |
296 call(RuntimeAddress(Runtime1::entry_for(Runtime1::dtrace_object_alloc_id))); | 296 call(RuntimeAddress(Runtime1::entry_for(Runtime1::dtrace_object_alloc_id))); |
297 } | 297 } |
298 | 298 |
299 verify_oop(obj); | 299 verify_oop(obj); |