commit | 19d99e3d9239cabdb2767b10281596f994f6dad2 | [log] [tgz] |
---|---|---|
author | Martin Doerr <martin.doerr@sap.com> | Wed Apr 24 14:48:43 2013 -0700 |
committer | John Cuthbertson <johnc@openjdk.org> | Wed Apr 24 14:48:43 2013 -0700 |
tree | 177f0de466cf1a40f6e73c7a2ed173d105322b41 | |
parent | 316993b3db82db308965b5a094139a747c13adef [diff] |
8012715: G1: GraphKit accesses PtrQueue::_index as int but is size_t 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