Mercurial > hg > truffle
changeset 10523:45788e918443
Code cleanup
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Mon, 24 Jun 2013 23:10:24 +0200 |
parents | 499f21a3bb81 |
children | ea43748a69cb |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java Mon Jun 24 16:55:52 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java Mon Jun 24 23:10:24 2013 +0200 @@ -123,7 +123,7 @@ static Word refillAllocate(Word intArrayHub, int sizeInBytes, boolean log) { // If G1 is enabled, the "eden" allocation space is not the same always // and therefore we have to go to slowpath to allocate a new TLAB. - if (HotSpotReplacementsUtil.useG1GC()) { + if (useG1GC()) { return Word.zero(); } if (!useTLAB()) {