changeset 4553:5064f1a8b6ee

8016187: assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range Summary: Forced SPARC Assembler eden_alloate to use long branch to slow case Reviewed-by: kvn
author morris
date Tue, 11 Jun 2013 16:36:17 -0700
parents a1a295252814
children a55abcd09aeb
files src/cpu/sparc/vm/assembler_sparc.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/assembler_sparc.cpp	Tue Jun 11 07:59:30 2013 -0700
+++ b/src/cpu/sparc/vm/assembler_sparc.cpp	Tue Jun 11 16:36:17 2013 -0700
@@ -3958,7 +3958,8 @@
 
   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!