8015437: SPARC cbcond branch offset out of 10-bit range

Forced SPARC MacroAssembler eden_alloate to use long branch to slow case

Reviewed-by: kvn, twisti
This commit is contained in:
Morris Meyer 2013-06-07 07:33:35 -07:00
parent aa61dce719
commit 690abe1b20

View File

@ -3540,7 +3540,8 @@ void MacroAssembler::eden_allocate(
if (CMSIncrementalMode || !Universe::heap()->supports_inline_contig_alloc()) {
// No allocation in the shared eden.
ba_short(slow_case);
ba(slow_case);
delayed()->nop();
} else {
// get eden boundaries
// note: we need both top & top_addr!