src/share/vm/utilities/accessFlags.hpp

changeset 3969
1d7922586cf6
parent 3803
71afdabfd05b
child 4037
da91efe96a93
     1.1 --- a/src/share/vm/utilities/accessFlags.hpp	Mon Jul 23 13:04:59 2012 -0700
     1.2 +++ b/src/share/vm/utilities/accessFlags.hpp	Tue Jul 24 10:51:00 2012 -0700
     1.3 @@ -55,9 +55,6 @@
     1.4    JVM_ACC_IS_OBSOLETE             = 0x00020000,     // RedefineClasses() has made method obsolete
     1.5    JVM_ACC_IS_PREFIXED_NATIVE      = 0x00040000,     // JVMTI has prefixed this native method
     1.6  
     1.7 -  JVM_MH_INVOKE_BITS           // = 0x10001100      // MethodHandle.invoke quasi-native
     1.8 -                                  = (JVM_ACC_NATIVE | JVM_ACC_SYNTHETIC | JVM_ACC_MONITOR_MATCH),
     1.9 -
    1.10    // klassOop flags
    1.11    JVM_ACC_HAS_MIRANDA_METHODS     = 0x10000000,     // True if this class has miranda methods in it's vtable
    1.12    JVM_ACC_HAS_VANILLA_CONSTRUCTOR = 0x20000000,     // True if klass has a vanilla default constructor
    1.13 @@ -133,15 +130,6 @@
    1.14    bool is_obsolete             () const { return (_flags & JVM_ACC_IS_OBSOLETE            ) != 0; }
    1.15    bool is_prefixed_native      () const { return (_flags & JVM_ACC_IS_PREFIXED_NATIVE     ) != 0; }
    1.16  
    1.17 -  // JSR 292:  A method of the form MethodHandle.invoke(A...)R method is
    1.18 -  // neither bytecoded nor a JNI native, but rather a fast call through
    1.19 -  // a lightweight method handle object.  Because it is not bytecoded,
    1.20 -  // it has the native bit set, but the monitor-match bit is also set
    1.21 -  // to distinguish it from a JNI native (which never has the match bit set).
    1.22 -  // The synthetic bit is also present, because such a method is never
    1.23 -  // explicitly defined in Java code.
    1.24 -  bool is_method_handle_invoke () const { return (_flags & JVM_MH_INVOKE_BITS) == JVM_MH_INVOKE_BITS; }
    1.25 -
    1.26    // klassOop flags
    1.27    bool has_miranda_methods     () const { return (_flags & JVM_ACC_HAS_MIRANDA_METHODS    ) != 0; }
    1.28    bool has_vanilla_constructor () const { return (_flags & JVM_ACC_HAS_VANILLA_CONSTRUCTOR) != 0; }

mercurial