Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'openjdk/sun/misc/Unsafe.java')
-rw-r--r--openjdk/sun/misc/Unsafe.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/openjdk/sun/misc/Unsafe.java b/openjdk/sun/misc/Unsafe.java
index 1afc5a73..104b4c0d 100644
--- a/openjdk/sun/misc/Unsafe.java
+++ b/openjdk/sun/misc/Unsafe.java
@@ -86,11 +86,13 @@ public final class Unsafe
public int arrayBaseOffset(Class c)
{
+ // don't change this, the Unsafe intrinsics depend on this value
return 0;
}
public int arrayIndexScale(Class c)
{
+ // don't change this, the Unsafe intrinsics depend on this value
return 1;
}