Mercurial > hg > graal-jvmci-8
diff src/share/vm/asm/codeBuffer.cpp @ 2494:e88293edf07c
Fixed an issue with alignment of double/long values in the code buffer. Can now run Scimark again.
Results for Scimark on i5 (client/graal/server) are (625/634/1120).
Bootstrap of C1X is at 3.7s.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 21:13:09 +0200 |
parents | 06f017f7daa7 |
children | 04b9a2566eec |
line wrap: on
line diff
--- a/src/share/vm/asm/codeBuffer.cpp Fri Apr 22 19:41:55 2011 +0200 +++ b/src/share/vm/asm/codeBuffer.cpp Fri Apr 22 21:13:09 2011 +0200 @@ -435,9 +435,8 @@ { // not sure why this is here, but why not... - // (tw) disabled assert - // int alignSize = MAX2((intx) sizeof(jdouble), CodeEntryAlignment); - // assert( (dest->_total_start - _insts.start()) % alignSize == 0, "copy must preserve alignment"); + int alignSize = MAX2((intx) sizeof(jdouble), CodeEntryAlignment); + assert( (dest->_total_start - _insts.start()) % alignSize == 0, "copy must preserve alignment"); } const CodeSection* prev_cs = NULL;