Code Review for hotspot

Prepared by:johnc on Thu May 2 11:43:08 PDT 2013
Compare against: ssh://
Compare against version:77c38d829467
Summary of changes: 28 lines changed: 4 ins; 12 del; 12 mod; 3835 unchg
Patch of changes: hotspot.patch
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw src/share/vm/opto/graphKit.cpp

rev 4469 : 8012715: G1: GraphKit accesses PtrQueue::_index as int but is size_t
Summary: In graphKit INT operations were generated to access PtrQueue::_index which has type size_t. This is 64 bit on 64-bit machines. No problems occur on little endian machines as long as the index fits into 32 bit, but on big endian machines the upper part is read, which is zero. This leads to unnecessary branches to the slow path in the runtime.
Reviewed-by: twisti, johnc
Contributed-by: Martin Doerr <>
28 lines changed: 4 ins; 12 del; 12 mod; 3835 unchg

This code review page was prepared using /java/j2se/bin/webrev (vers 23.18-hg).