src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VM.java
changeset 58842 6c255334120d
parent 54780 f8d182aedc92
child 59053 ba6c248cae19
equal deleted inserted replaced
58836:31ec3e55fa3d 58842:6c255334120d
   112   public static int    Flags_CONFIG_FILE;
   112   public static int    Flags_CONFIG_FILE;
   113   public static int    Flags_MANAGEMENT;
   113   public static int    Flags_MANAGEMENT;
   114   public static int    Flags_ERGONOMIC;
   114   public static int    Flags_ERGONOMIC;
   115   public static int    Flags_ATTACH_ON_DEMAND;
   115   public static int    Flags_ATTACH_ON_DEMAND;
   116   public static int    Flags_INTERNAL;
   116   public static int    Flags_INTERNAL;
       
   117   public static int    Flags_JIMAGE_RESOURCE;
   117   private static int   Flags_VALUE_ORIGIN_MASK;
   118   private static int   Flags_VALUE_ORIGIN_MASK;
   118   private static int   Flags_ORIG_COMMAND_LINE;
   119   private static int   Flags_ORIG_COMMAND_LINE;
   119   /** This is only present in a non-core build */
   120   /** This is only present in a non-core build */
   120   private CodeCache    codeCache;
   121   private CodeCache    codeCache;
   121   /** This is only present in a C1 build */
   122   /** This is only present in a C1 build */
   198             return result + "ergonomic";
   199             return result + "ergonomic";
   199         } else if (origin == Flags_ATTACH_ON_DEMAND) {
   200         } else if (origin == Flags_ATTACH_ON_DEMAND) {
   200             return "attach";
   201             return "attach";
   201         } else if (origin == Flags_INTERNAL) {
   202         } else if (origin == Flags_INTERNAL) {
   202             return "internal";
   203             return "internal";
       
   204         } else if (origin == Flags_JIMAGE_RESOURCE) {
       
   205             return "jimage";
   203         } else {
   206         } else {
   204             throw new IllegalStateException(
   207             throw new IllegalStateException(
   205                 "Unknown flag origin " + origin + " is detected in " + name);
   208                 "Unknown flag origin " + origin + " is detected in " + name);
   206         }
   209         }
   207      }
   210      }
   482     Flags_CONFIG_FILE = db.lookupIntConstant("JVMFlag::CONFIG_FILE").intValue();
   485     Flags_CONFIG_FILE = db.lookupIntConstant("JVMFlag::CONFIG_FILE").intValue();
   483     Flags_MANAGEMENT = db.lookupIntConstant("JVMFlag::MANAGEMENT").intValue();
   486     Flags_MANAGEMENT = db.lookupIntConstant("JVMFlag::MANAGEMENT").intValue();
   484     Flags_ERGONOMIC = db.lookupIntConstant("JVMFlag::ERGONOMIC").intValue();
   487     Flags_ERGONOMIC = db.lookupIntConstant("JVMFlag::ERGONOMIC").intValue();
   485     Flags_ATTACH_ON_DEMAND = db.lookupIntConstant("JVMFlag::ATTACH_ON_DEMAND").intValue();
   488     Flags_ATTACH_ON_DEMAND = db.lookupIntConstant("JVMFlag::ATTACH_ON_DEMAND").intValue();
   486     Flags_INTERNAL = db.lookupIntConstant("JVMFlag::INTERNAL").intValue();
   489     Flags_INTERNAL = db.lookupIntConstant("JVMFlag::INTERNAL").intValue();
       
   490     Flags_JIMAGE_RESOURCE = db.lookupIntConstant("JVMFlag::JIMAGE_RESOURCE").intValue();
   487     Flags_VALUE_ORIGIN_MASK = db.lookupIntConstant("JVMFlag::VALUE_ORIGIN_MASK").intValue();
   491     Flags_VALUE_ORIGIN_MASK = db.lookupIntConstant("JVMFlag::VALUE_ORIGIN_MASK").intValue();
   488     Flags_ORIG_COMMAND_LINE = db.lookupIntConstant("JVMFlag::ORIG_COMMAND_LINE").intValue();
   492     Flags_ORIG_COMMAND_LINE = db.lookupIntConstant("JVMFlag::ORIG_COMMAND_LINE").intValue();
   489     oopSize  = db.lookupIntConstant("oopSize").intValue();
   493     oopSize  = db.lookupIntConstant("oopSize").intValue();
   490     IndexSetSize = db.lookupIntConstant("CompactibleFreeListSpace::IndexSetSize").intValue();
   494     IndexSetSize = db.lookupIntConstant("CompactibleFreeListSpace::IndexSetSize").intValue();
   491 
   495