I would like to know what is the usage of sun.misc.unsafe.arrayIndexScale, in the javadoc
it is said that:
Report the scale factor for addressing elements in the storage allocation of a given array class. However, arrays of "narrow" types will generally not work properly with accessors like
getByte(java.lang.Object,int)
, so the scale factor for such classes is reported as zero.
This method returns an int
, but I am not sure what the value means.