jdk/src/java.base/share/classes/sun/reflect/UnsafeFieldAccessorImpl.java
changeset 33674 566777f73c32
parent 25859 3317bb8137f4
equal deleted inserted replaced
33673:ab8e6d8e3ab9 33674:566777f73c32
    25 
    25 
    26 package sun.reflect;
    26 package sun.reflect;
    27 
    27 
    28 import java.lang.reflect.Field;
    28 import java.lang.reflect.Field;
    29 import java.lang.reflect.Modifier;
    29 import java.lang.reflect.Modifier;
    30 import sun.misc.Unsafe;
    30 import jdk.internal.misc.Unsafe;
    31 
    31 
    32 /** Base class for sun.misc.Unsafe-based FieldAccessors. The
    32 /** Base class for jdk.internal.misc.Unsafe-based FieldAccessors. The
    33     observation is that there are only nine types of fields from the
    33     observation is that there are only nine types of fields from the
    34     standpoint of reflection code: the eight primitive types and
    34     standpoint of reflection code: the eight primitive types and
    35     Object. Using class Unsafe instead of generated bytecodes saves
    35     Object. Using class Unsafe instead of generated bytecodes saves
    36     memory and loading time for the dynamically-generated
    36     memory and loading time for the dynamically-generated
    37     FieldAccessors. */
    37     FieldAccessors. */