src/share/vm/utilities/accessFlags.hpp

changeset 2138
d5d065957597
parent 1907
c18cbe5936b8
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/utilities/accessFlags.hpp	Thu Sep 02 11:40:02 2010 -0700
     1.2 +++ b/src/share/vm/utilities/accessFlags.hpp	Fri Sep 03 17:51:07 2010 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -39,7 +39,8 @@
    1.11    JVM_ACC_HAS_LOOPS               = 0x40000000,     // Method has loops
    1.12    JVM_ACC_LOOPS_FLAG_INIT         = (int)0x80000000,// The loop flag has been initialized
    1.13    JVM_ACC_QUEUED                  = 0x01000000,     // Queued for compilation
    1.14 -  JVM_ACC_NOT_TIER1_COMPILABLE    = 0x04000000,
    1.15 +  JVM_ACC_NOT_C2_COMPILABLE       = 0x02000000,
    1.16 +  JVM_ACC_NOT_C1_COMPILABLE       = 0x04000000,
    1.17    JVM_ACC_NOT_OSR_COMPILABLE      = 0x08000000,
    1.18    JVM_ACC_HAS_LINE_NUMBER_TABLE   = 0x00100000,
    1.19    JVM_ACC_HAS_CHECKED_EXCEPTIONS  = 0x00400000,
    1.20 @@ -47,6 +48,7 @@
    1.21    JVM_ACC_IS_OLD                  = 0x00010000,     // RedefineClasses() has replaced this method
    1.22    JVM_ACC_IS_OBSOLETE             = 0x00020000,     // RedefineClasses() has made method obsolete
    1.23    JVM_ACC_IS_PREFIXED_NATIVE      = 0x00040000,     // JVMTI has prefixed this native method
    1.24 +
    1.25    JVM_MH_INVOKE_BITS           // = 0x10001100      // MethodHandle.invoke quasi-native
    1.26                                    = (JVM_ACC_NATIVE | JVM_ACC_SYNTHETIC | JVM_ACC_MONITOR_MATCH),
    1.27  
    1.28 @@ -108,7 +110,8 @@
    1.29    bool has_loops               () const { return (_flags & JVM_ACC_HAS_LOOPS              ) != 0; }
    1.30    bool loops_flag_init         () const { return (_flags & JVM_ACC_LOOPS_FLAG_INIT        ) != 0; }
    1.31    bool queued_for_compilation  () const { return (_flags & JVM_ACC_QUEUED                 ) != 0; }
    1.32 -  bool is_not_tier1_compilable  () const { return (_flags & JVM_ACC_NOT_TIER1_COMPILABLE  ) != 0; }
    1.33 +  bool is_not_c1_compilable () const    { return (_flags & JVM_ACC_NOT_C1_COMPILABLE      ) != 0; }
    1.34 +  bool is_not_c2_compilable () const    { return (_flags & JVM_ACC_NOT_C2_COMPILABLE      ) != 0; }
    1.35    bool is_not_osr_compilable   () const { return (_flags & JVM_ACC_NOT_OSR_COMPILABLE     ) != 0; }
    1.36    bool has_linenumber_table    () const { return (_flags & JVM_ACC_HAS_LINE_NUMBER_TABLE  ) != 0; }
    1.37    bool has_checked_exceptions  () const { return (_flags & JVM_ACC_HAS_CHECKED_EXCEPTIONS ) != 0; }
    1.38 @@ -172,7 +175,8 @@
    1.39    void set_has_monitor_bytecodes()     { atomic_set_bits(JVM_ACC_HAS_MONITOR_BYTECODES);   }
    1.40    void set_has_loops()                 { atomic_set_bits(JVM_ACC_HAS_LOOPS);               }
    1.41    void set_loops_flag_init()           { atomic_set_bits(JVM_ACC_LOOPS_FLAG_INIT);         }
    1.42 -  void set_not_tier1_compilable()      { atomic_set_bits(JVM_ACC_NOT_TIER1_COMPILABLE);    }
    1.43 +  void set_not_c1_compilable()         { atomic_set_bits(JVM_ACC_NOT_C1_COMPILABLE);       }
    1.44 +  void set_not_c2_compilable()         { atomic_set_bits(JVM_ACC_NOT_C2_COMPILABLE);       }
    1.45    void set_not_osr_compilable()        { atomic_set_bits(JVM_ACC_NOT_OSR_COMPILABLE);      }
    1.46    void set_has_linenumber_table()      { atomic_set_bits(JVM_ACC_HAS_LINE_NUMBER_TABLE);   }
    1.47    void set_has_checked_exceptions()    { atomic_set_bits(JVM_ACC_HAS_CHECKED_EXCEPTIONS);  }

mercurial