hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject [05/51] [partial] hbase-site git commit: Published site at 07b623670647686084f8f5fd2038e2bafcfdac54.
Date Wed, 30 Dec 2015 22:15:26 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html
index 8e6b3f8..a529fdf 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html
@@ -797,7 +797,7 @@
 <span class="sourceLineNo">789</span>    if (length != SIZEOF_LONG || offset + length &gt; bytes.length) {<a name="line.789"></a>
 <span class="sourceLineNo">790</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);<a name="line.790"></a>
 <span class="sourceLineNo">791</span>    }<a name="line.791"></a>
-<span class="sourceLineNo">792</span>    if (UnsafeAccess.isAvailable()) {<a name="line.792"></a>
+<span class="sourceLineNo">792</span>    if (UnsafeAccess.unaligned()) {<a name="line.792"></a>
 <span class="sourceLineNo">793</span>      return UnsafeAccess.toLong(bytes, offset);<a name="line.793"></a>
 <span class="sourceLineNo">794</span>    } else {<a name="line.794"></a>
 <span class="sourceLineNo">795</span>      long l = 0;<a name="line.795"></a>
@@ -838,7 +838,7 @@
 <span class="sourceLineNo">830</span>      throw new IllegalArgumentException("Not enough room to put a long at"<a name="line.830"></a>
 <span class="sourceLineNo">831</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.831"></a>
 <span class="sourceLineNo">832</span>    }<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    if (UnsafeAccess.isAvailable()) {<a name="line.833"></a>
+<span class="sourceLineNo">833</span>    if (UnsafeAccess.unaligned()) {<a name="line.833"></a>
 <span class="sourceLineNo">834</span>      return UnsafeAccess.putLong(bytes, offset, val);<a name="line.834"></a>
 <span class="sourceLineNo">835</span>    } else {<a name="line.835"></a>
 <span class="sourceLineNo">836</span>      for(int i = offset + 7; i &gt; offset; i--) {<a name="line.836"></a>
@@ -989,7 +989,7 @@
 <span class="sourceLineNo">981</span>    if (length != SIZEOF_INT || offset + length &gt; bytes.length) {<a name="line.981"></a>
 <span class="sourceLineNo">982</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_INT);<a name="line.982"></a>
 <span class="sourceLineNo">983</span>    }<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    if (UnsafeAccess.isAvailable()) {<a name="line.984"></a>
+<span class="sourceLineNo">984</span>    if (UnsafeAccess.unaligned()) {<a name="line.984"></a>
 <span class="sourceLineNo">985</span>      return UnsafeAccess.toInt(bytes, offset);<a name="line.985"></a>
 <span class="sourceLineNo">986</span>    } else {<a name="line.986"></a>
 <span class="sourceLineNo">987</span>      int n = 0;<a name="line.987"></a>
@@ -1073,7 +1073,7 @@
 <span class="sourceLineNo">1065</span>      throw new IllegalArgumentException("Not enough room to put an int at"<a name="line.1065"></a>
 <span class="sourceLineNo">1066</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1066"></a>
 <span class="sourceLineNo">1067</span>    }<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1068"></a>
+<span class="sourceLineNo">1068</span>    if (UnsafeAccess.unaligned()) {<a name="line.1068"></a>
 <span class="sourceLineNo">1069</span>      return UnsafeAccess.putInt(bytes, offset, val);<a name="line.1069"></a>
 <span class="sourceLineNo">1070</span>    } else {<a name="line.1070"></a>
 <span class="sourceLineNo">1071</span>      for(int i= offset + 3; i &gt; offset; i--) {<a name="line.1071"></a>
@@ -1143,7 +1143,7 @@
 <span class="sourceLineNo">1135</span>    if (length != SIZEOF_SHORT || offset + length &gt; bytes.length) {<a name="line.1135"></a>
 <span class="sourceLineNo">1136</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_SHORT);<a name="line.1136"></a>
 <span class="sourceLineNo">1137</span>    }<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1138"></a>
+<span class="sourceLineNo">1138</span>    if (UnsafeAccess.unaligned()) {<a name="line.1138"></a>
 <span class="sourceLineNo">1139</span>      return UnsafeAccess.toShort(bytes, offset);<a name="line.1139"></a>
 <span class="sourceLineNo">1140</span>    } else {<a name="line.1140"></a>
 <span class="sourceLineNo">1141</span>      short n = 0;<a name="line.1141"></a>
@@ -1181,7 +1181,7 @@
 <span class="sourceLineNo">1173</span>      throw new IllegalArgumentException("Not enough room to put a short at"<a name="line.1173"></a>
 <span class="sourceLineNo">1174</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1174"></a>
 <span class="sourceLineNo">1175</span>    }<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1176"></a>
+<span class="sourceLineNo">1176</span>    if (UnsafeAccess.unaligned()) {<a name="line.1176"></a>
 <span class="sourceLineNo">1177</span>      return UnsafeAccess.putShort(bytes, offset, val);<a name="line.1177"></a>
 <span class="sourceLineNo">1178</span>    } else {<a name="line.1178"></a>
 <span class="sourceLineNo">1179</span>      bytes[offset+1] = (byte) val;<a name="line.1179"></a>
@@ -1485,7 +1485,7 @@
 <span class="sourceLineNo">1477</span><a name="line.1477"></a>
 <span class="sourceLineNo">1478</span>      static final Unsafe theUnsafe;<a name="line.1478"></a>
 <span class="sourceLineNo">1479</span>      static {<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>        if (UnsafeAccess.isAvailable()) {<a name="line.1480"></a>
+<span class="sourceLineNo">1480</span>        if (UnsafeAccess.unaligned()) {<a name="line.1480"></a>
 <span class="sourceLineNo">1481</span>          theUnsafe = UnsafeAccess.theUnsafe;<a name="line.1481"></a>
 <span class="sourceLineNo">1482</span>        } else {<a name="line.1482"></a>
 <span class="sourceLineNo">1483</span>          // It doesn't matter what we throw;<a name="line.1483"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.Comparer.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.Comparer.html b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.Comparer.html
index 8e6b3f8..a529fdf 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.Comparer.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.Comparer.html
@@ -797,7 +797,7 @@
 <span class="sourceLineNo">789</span>    if (length != SIZEOF_LONG || offset + length &gt; bytes.length) {<a name="line.789"></a>
 <span class="sourceLineNo">790</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);<a name="line.790"></a>
 <span class="sourceLineNo">791</span>    }<a name="line.791"></a>
-<span class="sourceLineNo">792</span>    if (UnsafeAccess.isAvailable()) {<a name="line.792"></a>
+<span class="sourceLineNo">792</span>    if (UnsafeAccess.unaligned()) {<a name="line.792"></a>
 <span class="sourceLineNo">793</span>      return UnsafeAccess.toLong(bytes, offset);<a name="line.793"></a>
 <span class="sourceLineNo">794</span>    } else {<a name="line.794"></a>
 <span class="sourceLineNo">795</span>      long l = 0;<a name="line.795"></a>
@@ -838,7 +838,7 @@
 <span class="sourceLineNo">830</span>      throw new IllegalArgumentException("Not enough room to put a long at"<a name="line.830"></a>
 <span class="sourceLineNo">831</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.831"></a>
 <span class="sourceLineNo">832</span>    }<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    if (UnsafeAccess.isAvailable()) {<a name="line.833"></a>
+<span class="sourceLineNo">833</span>    if (UnsafeAccess.unaligned()) {<a name="line.833"></a>
 <span class="sourceLineNo">834</span>      return UnsafeAccess.putLong(bytes, offset, val);<a name="line.834"></a>
 <span class="sourceLineNo">835</span>    } else {<a name="line.835"></a>
 <span class="sourceLineNo">836</span>      for(int i = offset + 7; i &gt; offset; i--) {<a name="line.836"></a>
@@ -989,7 +989,7 @@
 <span class="sourceLineNo">981</span>    if (length != SIZEOF_INT || offset + length &gt; bytes.length) {<a name="line.981"></a>
 <span class="sourceLineNo">982</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_INT);<a name="line.982"></a>
 <span class="sourceLineNo">983</span>    }<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    if (UnsafeAccess.isAvailable()) {<a name="line.984"></a>
+<span class="sourceLineNo">984</span>    if (UnsafeAccess.unaligned()) {<a name="line.984"></a>
 <span class="sourceLineNo">985</span>      return UnsafeAccess.toInt(bytes, offset);<a name="line.985"></a>
 <span class="sourceLineNo">986</span>    } else {<a name="line.986"></a>
 <span class="sourceLineNo">987</span>      int n = 0;<a name="line.987"></a>
@@ -1073,7 +1073,7 @@
 <span class="sourceLineNo">1065</span>      throw new IllegalArgumentException("Not enough room to put an int at"<a name="line.1065"></a>
 <span class="sourceLineNo">1066</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1066"></a>
 <span class="sourceLineNo">1067</span>    }<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1068"></a>
+<span class="sourceLineNo">1068</span>    if (UnsafeAccess.unaligned()) {<a name="line.1068"></a>
 <span class="sourceLineNo">1069</span>      return UnsafeAccess.putInt(bytes, offset, val);<a name="line.1069"></a>
 <span class="sourceLineNo">1070</span>    } else {<a name="line.1070"></a>
 <span class="sourceLineNo">1071</span>      for(int i= offset + 3; i &gt; offset; i--) {<a name="line.1071"></a>
@@ -1143,7 +1143,7 @@
 <span class="sourceLineNo">1135</span>    if (length != SIZEOF_SHORT || offset + length &gt; bytes.length) {<a name="line.1135"></a>
 <span class="sourceLineNo">1136</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_SHORT);<a name="line.1136"></a>
 <span class="sourceLineNo">1137</span>    }<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1138"></a>
+<span class="sourceLineNo">1138</span>    if (UnsafeAccess.unaligned()) {<a name="line.1138"></a>
 <span class="sourceLineNo">1139</span>      return UnsafeAccess.toShort(bytes, offset);<a name="line.1139"></a>
 <span class="sourceLineNo">1140</span>    } else {<a name="line.1140"></a>
 <span class="sourceLineNo">1141</span>      short n = 0;<a name="line.1141"></a>
@@ -1181,7 +1181,7 @@
 <span class="sourceLineNo">1173</span>      throw new IllegalArgumentException("Not enough room to put a short at"<a name="line.1173"></a>
 <span class="sourceLineNo">1174</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1174"></a>
 <span class="sourceLineNo">1175</span>    }<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1176"></a>
+<span class="sourceLineNo">1176</span>    if (UnsafeAccess.unaligned()) {<a name="line.1176"></a>
 <span class="sourceLineNo">1177</span>      return UnsafeAccess.putShort(bytes, offset, val);<a name="line.1177"></a>
 <span class="sourceLineNo">1178</span>    } else {<a name="line.1178"></a>
 <span class="sourceLineNo">1179</span>      bytes[offset+1] = (byte) val;<a name="line.1179"></a>
@@ -1485,7 +1485,7 @@
 <span class="sourceLineNo">1477</span><a name="line.1477"></a>
 <span class="sourceLineNo">1478</span>      static final Unsafe theUnsafe;<a name="line.1478"></a>
 <span class="sourceLineNo">1479</span>      static {<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>        if (UnsafeAccess.isAvailable()) {<a name="line.1480"></a>
+<span class="sourceLineNo">1480</span>        if (UnsafeAccess.unaligned()) {<a name="line.1480"></a>
 <span class="sourceLineNo">1481</span>          theUnsafe = UnsafeAccess.theUnsafe;<a name="line.1481"></a>
 <span class="sourceLineNo">1482</span>        } else {<a name="line.1482"></a>
 <span class="sourceLineNo">1483</span>          // It doesn't matter what we throw;<a name="line.1483"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html
index 8e6b3f8..a529fdf 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html
@@ -797,7 +797,7 @@
 <span class="sourceLineNo">789</span>    if (length != SIZEOF_LONG || offset + length &gt; bytes.length) {<a name="line.789"></a>
 <span class="sourceLineNo">790</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);<a name="line.790"></a>
 <span class="sourceLineNo">791</span>    }<a name="line.791"></a>
-<span class="sourceLineNo">792</span>    if (UnsafeAccess.isAvailable()) {<a name="line.792"></a>
+<span class="sourceLineNo">792</span>    if (UnsafeAccess.unaligned()) {<a name="line.792"></a>
 <span class="sourceLineNo">793</span>      return UnsafeAccess.toLong(bytes, offset);<a name="line.793"></a>
 <span class="sourceLineNo">794</span>    } else {<a name="line.794"></a>
 <span class="sourceLineNo">795</span>      long l = 0;<a name="line.795"></a>
@@ -838,7 +838,7 @@
 <span class="sourceLineNo">830</span>      throw new IllegalArgumentException("Not enough room to put a long at"<a name="line.830"></a>
 <span class="sourceLineNo">831</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.831"></a>
 <span class="sourceLineNo">832</span>    }<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    if (UnsafeAccess.isAvailable()) {<a name="line.833"></a>
+<span class="sourceLineNo">833</span>    if (UnsafeAccess.unaligned()) {<a name="line.833"></a>
 <span class="sourceLineNo">834</span>      return UnsafeAccess.putLong(bytes, offset, val);<a name="line.834"></a>
 <span class="sourceLineNo">835</span>    } else {<a name="line.835"></a>
 <span class="sourceLineNo">836</span>      for(int i = offset + 7; i &gt; offset; i--) {<a name="line.836"></a>
@@ -989,7 +989,7 @@
 <span class="sourceLineNo">981</span>    if (length != SIZEOF_INT || offset + length &gt; bytes.length) {<a name="line.981"></a>
 <span class="sourceLineNo">982</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_INT);<a name="line.982"></a>
 <span class="sourceLineNo">983</span>    }<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    if (UnsafeAccess.isAvailable()) {<a name="line.984"></a>
+<span class="sourceLineNo">984</span>    if (UnsafeAccess.unaligned()) {<a name="line.984"></a>
 <span class="sourceLineNo">985</span>      return UnsafeAccess.toInt(bytes, offset);<a name="line.985"></a>
 <span class="sourceLineNo">986</span>    } else {<a name="line.986"></a>
 <span class="sourceLineNo">987</span>      int n = 0;<a name="line.987"></a>
@@ -1073,7 +1073,7 @@
 <span class="sourceLineNo">1065</span>      throw new IllegalArgumentException("Not enough room to put an int at"<a name="line.1065"></a>
 <span class="sourceLineNo">1066</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1066"></a>
 <span class="sourceLineNo">1067</span>    }<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1068"></a>
+<span class="sourceLineNo">1068</span>    if (UnsafeAccess.unaligned()) {<a name="line.1068"></a>
 <span class="sourceLineNo">1069</span>      return UnsafeAccess.putInt(bytes, offset, val);<a name="line.1069"></a>
 <span class="sourceLineNo">1070</span>    } else {<a name="line.1070"></a>
 <span class="sourceLineNo">1071</span>      for(int i= offset + 3; i &gt; offset; i--) {<a name="line.1071"></a>
@@ -1143,7 +1143,7 @@
 <span class="sourceLineNo">1135</span>    if (length != SIZEOF_SHORT || offset + length &gt; bytes.length) {<a name="line.1135"></a>
 <span class="sourceLineNo">1136</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_SHORT);<a name="line.1136"></a>
 <span class="sourceLineNo">1137</span>    }<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1138"></a>
+<span class="sourceLineNo">1138</span>    if (UnsafeAccess.unaligned()) {<a name="line.1138"></a>
 <span class="sourceLineNo">1139</span>      return UnsafeAccess.toShort(bytes, offset);<a name="line.1139"></a>
 <span class="sourceLineNo">1140</span>    } else {<a name="line.1140"></a>
 <span class="sourceLineNo">1141</span>      short n = 0;<a name="line.1141"></a>
@@ -1181,7 +1181,7 @@
 <span class="sourceLineNo">1173</span>      throw new IllegalArgumentException("Not enough room to put a short at"<a name="line.1173"></a>
 <span class="sourceLineNo">1174</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1174"></a>
 <span class="sourceLineNo">1175</span>    }<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1176"></a>
+<span class="sourceLineNo">1176</span>    if (UnsafeAccess.unaligned()) {<a name="line.1176"></a>
 <span class="sourceLineNo">1177</span>      return UnsafeAccess.putShort(bytes, offset, val);<a name="line.1177"></a>
 <span class="sourceLineNo">1178</span>    } else {<a name="line.1178"></a>
 <span class="sourceLineNo">1179</span>      bytes[offset+1] = (byte) val;<a name="line.1179"></a>
@@ -1485,7 +1485,7 @@
 <span class="sourceLineNo">1477</span><a name="line.1477"></a>
 <span class="sourceLineNo">1478</span>      static final Unsafe theUnsafe;<a name="line.1478"></a>
 <span class="sourceLineNo">1479</span>      static {<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>        if (UnsafeAccess.isAvailable()) {<a name="line.1480"></a>
+<span class="sourceLineNo">1480</span>        if (UnsafeAccess.unaligned()) {<a name="line.1480"></a>
 <span class="sourceLineNo">1481</span>          theUnsafe = UnsafeAccess.theUnsafe;<a name="line.1481"></a>
 <span class="sourceLineNo">1482</span>        } else {<a name="line.1482"></a>
 <span class="sourceLineNo">1483</span>          // It doesn't matter what we throw;<a name="line.1483"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html
index 8e6b3f8..a529fdf 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html
@@ -797,7 +797,7 @@
 <span class="sourceLineNo">789</span>    if (length != SIZEOF_LONG || offset + length &gt; bytes.length) {<a name="line.789"></a>
 <span class="sourceLineNo">790</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);<a name="line.790"></a>
 <span class="sourceLineNo">791</span>    }<a name="line.791"></a>
-<span class="sourceLineNo">792</span>    if (UnsafeAccess.isAvailable()) {<a name="line.792"></a>
+<span class="sourceLineNo">792</span>    if (UnsafeAccess.unaligned()) {<a name="line.792"></a>
 <span class="sourceLineNo">793</span>      return UnsafeAccess.toLong(bytes, offset);<a name="line.793"></a>
 <span class="sourceLineNo">794</span>    } else {<a name="line.794"></a>
 <span class="sourceLineNo">795</span>      long l = 0;<a name="line.795"></a>
@@ -838,7 +838,7 @@
 <span class="sourceLineNo">830</span>      throw new IllegalArgumentException("Not enough room to put a long at"<a name="line.830"></a>
 <span class="sourceLineNo">831</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.831"></a>
 <span class="sourceLineNo">832</span>    }<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    if (UnsafeAccess.isAvailable()) {<a name="line.833"></a>
+<span class="sourceLineNo">833</span>    if (UnsafeAccess.unaligned()) {<a name="line.833"></a>
 <span class="sourceLineNo">834</span>      return UnsafeAccess.putLong(bytes, offset, val);<a name="line.834"></a>
 <span class="sourceLineNo">835</span>    } else {<a name="line.835"></a>
 <span class="sourceLineNo">836</span>      for(int i = offset + 7; i &gt; offset; i--) {<a name="line.836"></a>
@@ -989,7 +989,7 @@
 <span class="sourceLineNo">981</span>    if (length != SIZEOF_INT || offset + length &gt; bytes.length) {<a name="line.981"></a>
 <span class="sourceLineNo">982</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_INT);<a name="line.982"></a>
 <span class="sourceLineNo">983</span>    }<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    if (UnsafeAccess.isAvailable()) {<a name="line.984"></a>
+<span class="sourceLineNo">984</span>    if (UnsafeAccess.unaligned()) {<a name="line.984"></a>
 <span class="sourceLineNo">985</span>      return UnsafeAccess.toInt(bytes, offset);<a name="line.985"></a>
 <span class="sourceLineNo">986</span>    } else {<a name="line.986"></a>
 <span class="sourceLineNo">987</span>      int n = 0;<a name="line.987"></a>
@@ -1073,7 +1073,7 @@
 <span class="sourceLineNo">1065</span>      throw new IllegalArgumentException("Not enough room to put an int at"<a name="line.1065"></a>
 <span class="sourceLineNo">1066</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1066"></a>
 <span class="sourceLineNo">1067</span>    }<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1068"></a>
+<span class="sourceLineNo">1068</span>    if (UnsafeAccess.unaligned()) {<a name="line.1068"></a>
 <span class="sourceLineNo">1069</span>      return UnsafeAccess.putInt(bytes, offset, val);<a name="line.1069"></a>
 <span class="sourceLineNo">1070</span>    } else {<a name="line.1070"></a>
 <span class="sourceLineNo">1071</span>      for(int i= offset + 3; i &gt; offset; i--) {<a name="line.1071"></a>
@@ -1143,7 +1143,7 @@
 <span class="sourceLineNo">1135</span>    if (length != SIZEOF_SHORT || offset + length &gt; bytes.length) {<a name="line.1135"></a>
 <span class="sourceLineNo">1136</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_SHORT);<a name="line.1136"></a>
 <span class="sourceLineNo">1137</span>    }<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1138"></a>
+<span class="sourceLineNo">1138</span>    if (UnsafeAccess.unaligned()) {<a name="line.1138"></a>
 <span class="sourceLineNo">1139</span>      return UnsafeAccess.toShort(bytes, offset);<a name="line.1139"></a>
 <span class="sourceLineNo">1140</span>    } else {<a name="line.1140"></a>
 <span class="sourceLineNo">1141</span>      short n = 0;<a name="line.1141"></a>
@@ -1181,7 +1181,7 @@
 <span class="sourceLineNo">1173</span>      throw new IllegalArgumentException("Not enough room to put a short at"<a name="line.1173"></a>
 <span class="sourceLineNo">1174</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1174"></a>
 <span class="sourceLineNo">1175</span>    }<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1176"></a>
+<span class="sourceLineNo">1176</span>    if (UnsafeAccess.unaligned()) {<a name="line.1176"></a>
 <span class="sourceLineNo">1177</span>      return UnsafeAccess.putShort(bytes, offset, val);<a name="line.1177"></a>
 <span class="sourceLineNo">1178</span>    } else {<a name="line.1178"></a>
 <span class="sourceLineNo">1179</span>      bytes[offset+1] = (byte) val;<a name="line.1179"></a>
@@ -1485,7 +1485,7 @@
 <span class="sourceLineNo">1477</span><a name="line.1477"></a>
 <span class="sourceLineNo">1478</span>      static final Unsafe theUnsafe;<a name="line.1478"></a>
 <span class="sourceLineNo">1479</span>      static {<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>        if (UnsafeAccess.isAvailable()) {<a name="line.1480"></a>
+<span class="sourceLineNo">1480</span>        if (UnsafeAccess.unaligned()) {<a name="line.1480"></a>
 <span class="sourceLineNo">1481</span>          theUnsafe = UnsafeAccess.theUnsafe;<a name="line.1481"></a>
 <span class="sourceLineNo">1482</span>        } else {<a name="line.1482"></a>
 <span class="sourceLineNo">1483</span>          // It doesn't matter what we throw;<a name="line.1483"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
index 8e6b3f8..a529fdf 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
@@ -797,7 +797,7 @@
 <span class="sourceLineNo">789</span>    if (length != SIZEOF_LONG || offset + length &gt; bytes.length) {<a name="line.789"></a>
 <span class="sourceLineNo">790</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);<a name="line.790"></a>
 <span class="sourceLineNo">791</span>    }<a name="line.791"></a>
-<span class="sourceLineNo">792</span>    if (UnsafeAccess.isAvailable()) {<a name="line.792"></a>
+<span class="sourceLineNo">792</span>    if (UnsafeAccess.unaligned()) {<a name="line.792"></a>
 <span class="sourceLineNo">793</span>      return UnsafeAccess.toLong(bytes, offset);<a name="line.793"></a>
 <span class="sourceLineNo">794</span>    } else {<a name="line.794"></a>
 <span class="sourceLineNo">795</span>      long l = 0;<a name="line.795"></a>
@@ -838,7 +838,7 @@
 <span class="sourceLineNo">830</span>      throw new IllegalArgumentException("Not enough room to put a long at"<a name="line.830"></a>
 <span class="sourceLineNo">831</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.831"></a>
 <span class="sourceLineNo">832</span>    }<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    if (UnsafeAccess.isAvailable()) {<a name="line.833"></a>
+<span class="sourceLineNo">833</span>    if (UnsafeAccess.unaligned()) {<a name="line.833"></a>
 <span class="sourceLineNo">834</span>      return UnsafeAccess.putLong(bytes, offset, val);<a name="line.834"></a>
 <span class="sourceLineNo">835</span>    } else {<a name="line.835"></a>
 <span class="sourceLineNo">836</span>      for(int i = offset + 7; i &gt; offset; i--) {<a name="line.836"></a>
@@ -989,7 +989,7 @@
 <span class="sourceLineNo">981</span>    if (length != SIZEOF_INT || offset + length &gt; bytes.length) {<a name="line.981"></a>
 <span class="sourceLineNo">982</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_INT);<a name="line.982"></a>
 <span class="sourceLineNo">983</span>    }<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    if (UnsafeAccess.isAvailable()) {<a name="line.984"></a>
+<span class="sourceLineNo">984</span>    if (UnsafeAccess.unaligned()) {<a name="line.984"></a>
 <span class="sourceLineNo">985</span>      return UnsafeAccess.toInt(bytes, offset);<a name="line.985"></a>
 <span class="sourceLineNo">986</span>    } else {<a name="line.986"></a>
 <span class="sourceLineNo">987</span>      int n = 0;<a name="line.987"></a>
@@ -1073,7 +1073,7 @@
 <span class="sourceLineNo">1065</span>      throw new IllegalArgumentException("Not enough room to put an int at"<a name="line.1065"></a>
 <span class="sourceLineNo">1066</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1066"></a>
 <span class="sourceLineNo">1067</span>    }<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1068"></a>
+<span class="sourceLineNo">1068</span>    if (UnsafeAccess.unaligned()) {<a name="line.1068"></a>
 <span class="sourceLineNo">1069</span>      return UnsafeAccess.putInt(bytes, offset, val);<a name="line.1069"></a>
 <span class="sourceLineNo">1070</span>    } else {<a name="line.1070"></a>
 <span class="sourceLineNo">1071</span>      for(int i= offset + 3; i &gt; offset; i--) {<a name="line.1071"></a>
@@ -1143,7 +1143,7 @@
 <span class="sourceLineNo">1135</span>    if (length != SIZEOF_SHORT || offset + length &gt; bytes.length) {<a name="line.1135"></a>
 <span class="sourceLineNo">1136</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_SHORT);<a name="line.1136"></a>
 <span class="sourceLineNo">1137</span>    }<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1138"></a>
+<span class="sourceLineNo">1138</span>    if (UnsafeAccess.unaligned()) {<a name="line.1138"></a>
 <span class="sourceLineNo">1139</span>      return UnsafeAccess.toShort(bytes, offset);<a name="line.1139"></a>
 <span class="sourceLineNo">1140</span>    } else {<a name="line.1140"></a>
 <span class="sourceLineNo">1141</span>      short n = 0;<a name="line.1141"></a>
@@ -1181,7 +1181,7 @@
 <span class="sourceLineNo">1173</span>      throw new IllegalArgumentException("Not enough room to put a short at"<a name="line.1173"></a>
 <span class="sourceLineNo">1174</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1174"></a>
 <span class="sourceLineNo">1175</span>    }<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1176"></a>
+<span class="sourceLineNo">1176</span>    if (UnsafeAccess.unaligned()) {<a name="line.1176"></a>
 <span class="sourceLineNo">1177</span>      return UnsafeAccess.putShort(bytes, offset, val);<a name="line.1177"></a>
 <span class="sourceLineNo">1178</span>    } else {<a name="line.1178"></a>
 <span class="sourceLineNo">1179</span>      bytes[offset+1] = (byte) val;<a name="line.1179"></a>
@@ -1485,7 +1485,7 @@
 <span class="sourceLineNo">1477</span><a name="line.1477"></a>
 <span class="sourceLineNo">1478</span>      static final Unsafe theUnsafe;<a name="line.1478"></a>
 <span class="sourceLineNo">1479</span>      static {<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>        if (UnsafeAccess.isAvailable()) {<a name="line.1480"></a>
+<span class="sourceLineNo">1480</span>        if (UnsafeAccess.unaligned()) {<a name="line.1480"></a>
 <span class="sourceLineNo">1481</span>          theUnsafe = UnsafeAccess.theUnsafe;<a name="line.1481"></a>
 <span class="sourceLineNo">1482</span>        } else {<a name="line.1482"></a>
 <span class="sourceLineNo">1483</span>          // It doesn't matter what we throw;<a name="line.1483"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html
index 8e6b3f8..a529fdf 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html
@@ -797,7 +797,7 @@
 <span class="sourceLineNo">789</span>    if (length != SIZEOF_LONG || offset + length &gt; bytes.length) {<a name="line.789"></a>
 <span class="sourceLineNo">790</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);<a name="line.790"></a>
 <span class="sourceLineNo">791</span>    }<a name="line.791"></a>
-<span class="sourceLineNo">792</span>    if (UnsafeAccess.isAvailable()) {<a name="line.792"></a>
+<span class="sourceLineNo">792</span>    if (UnsafeAccess.unaligned()) {<a name="line.792"></a>
 <span class="sourceLineNo">793</span>      return UnsafeAccess.toLong(bytes, offset);<a name="line.793"></a>
 <span class="sourceLineNo">794</span>    } else {<a name="line.794"></a>
 <span class="sourceLineNo">795</span>      long l = 0;<a name="line.795"></a>
@@ -838,7 +838,7 @@
 <span class="sourceLineNo">830</span>      throw new IllegalArgumentException("Not enough room to put a long at"<a name="line.830"></a>
 <span class="sourceLineNo">831</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.831"></a>
 <span class="sourceLineNo">832</span>    }<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    if (UnsafeAccess.isAvailable()) {<a name="line.833"></a>
+<span class="sourceLineNo">833</span>    if (UnsafeAccess.unaligned()) {<a name="line.833"></a>
 <span class="sourceLineNo">834</span>      return UnsafeAccess.putLong(bytes, offset, val);<a name="line.834"></a>
 <span class="sourceLineNo">835</span>    } else {<a name="line.835"></a>
 <span class="sourceLineNo">836</span>      for(int i = offset + 7; i &gt; offset; i--) {<a name="line.836"></a>
@@ -989,7 +989,7 @@
 <span class="sourceLineNo">981</span>    if (length != SIZEOF_INT || offset + length &gt; bytes.length) {<a name="line.981"></a>
 <span class="sourceLineNo">982</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_INT);<a name="line.982"></a>
 <span class="sourceLineNo">983</span>    }<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    if (UnsafeAccess.isAvailable()) {<a name="line.984"></a>
+<span class="sourceLineNo">984</span>    if (UnsafeAccess.unaligned()) {<a name="line.984"></a>
 <span class="sourceLineNo">985</span>      return UnsafeAccess.toInt(bytes, offset);<a name="line.985"></a>
 <span class="sourceLineNo">986</span>    } else {<a name="line.986"></a>
 <span class="sourceLineNo">987</span>      int n = 0;<a name="line.987"></a>
@@ -1073,7 +1073,7 @@
 <span class="sourceLineNo">1065</span>      throw new IllegalArgumentException("Not enough room to put an int at"<a name="line.1065"></a>
 <span class="sourceLineNo">1066</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1066"></a>
 <span class="sourceLineNo">1067</span>    }<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1068"></a>
+<span class="sourceLineNo">1068</span>    if (UnsafeAccess.unaligned()) {<a name="line.1068"></a>
 <span class="sourceLineNo">1069</span>      return UnsafeAccess.putInt(bytes, offset, val);<a name="line.1069"></a>
 <span class="sourceLineNo">1070</span>    } else {<a name="line.1070"></a>
 <span class="sourceLineNo">1071</span>      for(int i= offset + 3; i &gt; offset; i--) {<a name="line.1071"></a>
@@ -1143,7 +1143,7 @@
 <span class="sourceLineNo">1135</span>    if (length != SIZEOF_SHORT || offset + length &gt; bytes.length) {<a name="line.1135"></a>
 <span class="sourceLineNo">1136</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_SHORT);<a name="line.1136"></a>
 <span class="sourceLineNo">1137</span>    }<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1138"></a>
+<span class="sourceLineNo">1138</span>    if (UnsafeAccess.unaligned()) {<a name="line.1138"></a>
 <span class="sourceLineNo">1139</span>      return UnsafeAccess.toShort(bytes, offset);<a name="line.1139"></a>
 <span class="sourceLineNo">1140</span>    } else {<a name="line.1140"></a>
 <span class="sourceLineNo">1141</span>      short n = 0;<a name="line.1141"></a>
@@ -1181,7 +1181,7 @@
 <span class="sourceLineNo">1173</span>      throw new IllegalArgumentException("Not enough room to put a short at"<a name="line.1173"></a>
 <span class="sourceLineNo">1174</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1174"></a>
 <span class="sourceLineNo">1175</span>    }<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1176"></a>
+<span class="sourceLineNo">1176</span>    if (UnsafeAccess.unaligned()) {<a name="line.1176"></a>
 <span class="sourceLineNo">1177</span>      return UnsafeAccess.putShort(bytes, offset, val);<a name="line.1177"></a>
 <span class="sourceLineNo">1178</span>    } else {<a name="line.1178"></a>
 <span class="sourceLineNo">1179</span>      bytes[offset+1] = (byte) val;<a name="line.1179"></a>
@@ -1485,7 +1485,7 @@
 <span class="sourceLineNo">1477</span><a name="line.1477"></a>
 <span class="sourceLineNo">1478</span>      static final Unsafe theUnsafe;<a name="line.1478"></a>
 <span class="sourceLineNo">1479</span>      static {<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>        if (UnsafeAccess.isAvailable()) {<a name="line.1480"></a>
+<span class="sourceLineNo">1480</span>        if (UnsafeAccess.unaligned()) {<a name="line.1480"></a>
 <span class="sourceLineNo">1481</span>          theUnsafe = UnsafeAccess.theUnsafe;<a name="line.1481"></a>
 <span class="sourceLineNo">1482</span>        } else {<a name="line.1482"></a>
 <span class="sourceLineNo">1483</span>          // It doesn't matter what we throw;<a name="line.1483"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e5c3dcd1/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html
index 8e6b3f8..a529fdf 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html
@@ -797,7 +797,7 @@
 <span class="sourceLineNo">789</span>    if (length != SIZEOF_LONG || offset + length &gt; bytes.length) {<a name="line.789"></a>
 <span class="sourceLineNo">790</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);<a name="line.790"></a>
 <span class="sourceLineNo">791</span>    }<a name="line.791"></a>
-<span class="sourceLineNo">792</span>    if (UnsafeAccess.isAvailable()) {<a name="line.792"></a>
+<span class="sourceLineNo">792</span>    if (UnsafeAccess.unaligned()) {<a name="line.792"></a>
 <span class="sourceLineNo">793</span>      return UnsafeAccess.toLong(bytes, offset);<a name="line.793"></a>
 <span class="sourceLineNo">794</span>    } else {<a name="line.794"></a>
 <span class="sourceLineNo">795</span>      long l = 0;<a name="line.795"></a>
@@ -838,7 +838,7 @@
 <span class="sourceLineNo">830</span>      throw new IllegalArgumentException("Not enough room to put a long at"<a name="line.830"></a>
 <span class="sourceLineNo">831</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.831"></a>
 <span class="sourceLineNo">832</span>    }<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    if (UnsafeAccess.isAvailable()) {<a name="line.833"></a>
+<span class="sourceLineNo">833</span>    if (UnsafeAccess.unaligned()) {<a name="line.833"></a>
 <span class="sourceLineNo">834</span>      return UnsafeAccess.putLong(bytes, offset, val);<a name="line.834"></a>
 <span class="sourceLineNo">835</span>    } else {<a name="line.835"></a>
 <span class="sourceLineNo">836</span>      for(int i = offset + 7; i &gt; offset; i--) {<a name="line.836"></a>
@@ -989,7 +989,7 @@
 <span class="sourceLineNo">981</span>    if (length != SIZEOF_INT || offset + length &gt; bytes.length) {<a name="line.981"></a>
 <span class="sourceLineNo">982</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_INT);<a name="line.982"></a>
 <span class="sourceLineNo">983</span>    }<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    if (UnsafeAccess.isAvailable()) {<a name="line.984"></a>
+<span class="sourceLineNo">984</span>    if (UnsafeAccess.unaligned()) {<a name="line.984"></a>
 <span class="sourceLineNo">985</span>      return UnsafeAccess.toInt(bytes, offset);<a name="line.985"></a>
 <span class="sourceLineNo">986</span>    } else {<a name="line.986"></a>
 <span class="sourceLineNo">987</span>      int n = 0;<a name="line.987"></a>
@@ -1073,7 +1073,7 @@
 <span class="sourceLineNo">1065</span>      throw new IllegalArgumentException("Not enough room to put an int at"<a name="line.1065"></a>
 <span class="sourceLineNo">1066</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1066"></a>
 <span class="sourceLineNo">1067</span>    }<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1068"></a>
+<span class="sourceLineNo">1068</span>    if (UnsafeAccess.unaligned()) {<a name="line.1068"></a>
 <span class="sourceLineNo">1069</span>      return UnsafeAccess.putInt(bytes, offset, val);<a name="line.1069"></a>
 <span class="sourceLineNo">1070</span>    } else {<a name="line.1070"></a>
 <span class="sourceLineNo">1071</span>      for(int i= offset + 3; i &gt; offset; i--) {<a name="line.1071"></a>
@@ -1143,7 +1143,7 @@
 <span class="sourceLineNo">1135</span>    if (length != SIZEOF_SHORT || offset + length &gt; bytes.length) {<a name="line.1135"></a>
 <span class="sourceLineNo">1136</span>      throw explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_SHORT);<a name="line.1136"></a>
 <span class="sourceLineNo">1137</span>    }<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1138"></a>
+<span class="sourceLineNo">1138</span>    if (UnsafeAccess.unaligned()) {<a name="line.1138"></a>
 <span class="sourceLineNo">1139</span>      return UnsafeAccess.toShort(bytes, offset);<a name="line.1139"></a>
 <span class="sourceLineNo">1140</span>    } else {<a name="line.1140"></a>
 <span class="sourceLineNo">1141</span>      short n = 0;<a name="line.1141"></a>
@@ -1181,7 +1181,7 @@
 <span class="sourceLineNo">1173</span>      throw new IllegalArgumentException("Not enough room to put a short at"<a name="line.1173"></a>
 <span class="sourceLineNo">1174</span>          + " offset " + offset + " in a " + bytes.length + " byte array");<a name="line.1174"></a>
 <span class="sourceLineNo">1175</span>    }<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    if (UnsafeAccess.isAvailable()) {<a name="line.1176"></a>
+<span class="sourceLineNo">1176</span>    if (UnsafeAccess.unaligned()) {<a name="line.1176"></a>
 <span class="sourceLineNo">1177</span>      return UnsafeAccess.putShort(bytes, offset, val);<a name="line.1177"></a>
 <span class="sourceLineNo">1178</span>    } else {<a name="line.1178"></a>
 <span class="sourceLineNo">1179</span>      bytes[offset+1] = (byte) val;<a name="line.1179"></a>
@@ -1485,7 +1485,7 @@
 <span class="sourceLineNo">1477</span><a name="line.1477"></a>
 <span class="sourceLineNo">1478</span>      static final Unsafe theUnsafe;<a name="line.1478"></a>
 <span class="sourceLineNo">1479</span>      static {<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>        if (UnsafeAccess.isAvailable()) {<a name="line.1480"></a>
+<span class="sourceLineNo">1480</span>        if (UnsafeAccess.unaligned()) {<a name="line.1480"></a>
 <span class="sourceLineNo">1481</span>          theUnsafe = UnsafeAccess.theUnsafe;<a name="line.1481"></a>
 <span class="sourceLineNo">1482</span>        } else {<a name="line.1482"></a>
 <span class="sourceLineNo">1483</span>          // It doesn't matter what we throw;<a name="line.1483"></a>


Mime
View raw message