hotspot/src/share/vm/oops/cpCacheOop.hpp
changeset 6062 bab93afe9df7
parent 5882 6b2aecc4f7d8
child 6064 71e316283a85
--- a/hotspot/src/share/vm/oops/cpCacheOop.hpp	Thu Jul 15 08:54:48 2010 -0700
+++ b/hotspot/src/share/vm/oops/cpCacheOop.hpp	Thu Jul 15 18:40:45 2010 -0700
@@ -185,6 +185,10 @@
     methodHandle signature_invoker               // determines signature information
   );
 
+  // For JVM_CONSTANT_InvokeDynamic cache entries:
+  void initialize_bootstrap_method_index_in_cache(int bsm_cache_index);
+  int  bootstrap_method_index_in_cache();
+
   void set_parameter_size(int value) {
     assert(parameter_size() == 0 || parameter_size() == value,
            "size must not change");
@@ -234,6 +238,7 @@
   Bytecodes::Code bytecode_1() const             { return Bytecodes::cast((_indices >> 16) & 0xFF); }
   Bytecodes::Code bytecode_2() const             { return Bytecodes::cast((_indices >> 24) & 0xFF); }
   volatile oop  f1() const                       { return _f1; }
+  bool is_f1_null() const                        { return (oop)_f1 == NULL; }  // classifies a CPC entry as unbound
   intx f2() const                                { return _f2; }
   int  field_index() const;
   int  parameter_size() const                    { return _flags & 0xFF; }