Mercurial > hg > graal-compiler
changeset 10519:3891371b2a3b
Method renaming
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Mon, 24 Jun 2013 14:52:44 +0200 |
parents | 0e849dd16591 |
children | 590f8f159309 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotReplacementsUtil.java graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotReplacementsUtil.java Mon Jun 24 14:49:17 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotReplacementsUtil.java Mon Jun 24 14:52:44 2013 +0200 @@ -371,7 +371,7 @@ } @Fold - public static int logOfHRGrainBytes() { + public static int logOfHeapRegionGrainBytes() { return config().logOfHRGrainBytes; }
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java Mon Jun 24 14:49:17 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java Mon Jun 24 14:52:44 2013 +0200 @@ -149,7 +149,7 @@ Word indexValue = thread.readWord(HotSpotReplacementsUtil.g1CardQueueIndexOffset()); // The result of the xor reveals whether the installed pointer crosses heap regions. // In case it does the write barrier has to be issued. - Word xorResult = (field.xor(writtenValue)).unsignedShiftRight(HotSpotReplacementsUtil.logOfHRGrainBytes()); + Word xorResult = (field.xor(writtenValue)).unsignedShiftRight(HotSpotReplacementsUtil.logOfHeapRegionGrainBytes()); // Calculate the address of the card to be enqueued to the // thread local card queue.