Mercurial > hg > truffle
comparison src/cpu/sparc/vm/c1_LIRAssembler_sparc.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 | 6b2273dd6fa9 |
children | 148e5441d916 |
comparison
equal
deleted
inserted
replaced
779:d0e0d6d824d8 | 780:c96bf21b756f |
---|---|
376 int offset = code_offset(); | 376 int offset = code_offset(); |
377 #endif // ASSERT | 377 #endif // ASSERT |
378 compilation()->offsets()->set_value(CodeOffsets::Exceptions, code_offset()); | 378 compilation()->offsets()->set_value(CodeOffsets::Exceptions, code_offset()); |
379 | 379 |
380 | 380 |
381 if (compilation()->has_exception_handlers() || JvmtiExport::can_post_exceptions()) { | 381 if (compilation()->has_exception_handlers() || compilation()->env()->jvmti_can_post_exceptions()) { |
382 __ call(Runtime1::entry_for(Runtime1::handle_exception_id), relocInfo::runtime_call_type); | 382 __ call(Runtime1::entry_for(Runtime1::handle_exception_id), relocInfo::runtime_call_type); |
383 __ delayed()->nop(); | 383 __ delayed()->nop(); |
384 } | 384 } |
385 | 385 |
386 __ call(Runtime1::entry_for(Runtime1::unwind_exception_id), relocInfo::runtime_call_type); | 386 __ call(Runtime1::entry_for(Runtime1::unwind_exception_id), relocInfo::runtime_call_type); |