hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/ConstantTag.java
changeset 7114 65d21c4c6337
parent 6062 bab93afe9df7
child 7436 dbc43da3d512
equal deleted inserted replaced
7113:f05a0ba2802f 7114:65d21c4c6337
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    38   private static int JVM_CONSTANT_Methodref               = 10;
    38   private static int JVM_CONSTANT_Methodref               = 10;
    39   private static int JVM_CONSTANT_InterfaceMethodref      = 11;
    39   private static int JVM_CONSTANT_InterfaceMethodref      = 11;
    40   private static int JVM_CONSTANT_NameAndType             = 12;
    40   private static int JVM_CONSTANT_NameAndType             = 12;
    41   private static int JVM_CONSTANT_MethodHandle            = 15;  // JSR 292
    41   private static int JVM_CONSTANT_MethodHandle            = 15;  // JSR 292
    42   private static int JVM_CONSTANT_MethodType              = 16;  // JSR 292
    42   private static int JVM_CONSTANT_MethodType              = 16;  // JSR 292
    43   private static int JVM_CONSTANT_InvokeDynamic           = 17;  // JSR 292
    43   //      static int JVM_CONSTANT_InvokeDynamicTrans      = 17;  // JSR 292, only occurs in old class files
       
    44   private static int JVM_CONSTANT_InvokeDynamic           = 18;  // JSR 292
    44   private static int JVM_CONSTANT_Invalid                 = 0;   // For bad value initialization
    45   private static int JVM_CONSTANT_Invalid                 = 0;   // For bad value initialization
    45   private static int JVM_CONSTANT_UnresolvedClass         = 100; // Temporary tag until actual use
    46   private static int JVM_CONSTANT_UnresolvedClass         = 100; // Temporary tag until actual use
    46   private static int JVM_CONSTANT_ClassIndex              = 101; // Temporary tag while constructing constant pool
    47   private static int JVM_CONSTANT_ClassIndex              = 101; // Temporary tag while constructing constant pool
    47   private static int JVM_CONSTANT_UnresolvedString        = 102; // Temporary tag until actual use
    48   private static int JVM_CONSTANT_UnresolvedString        = 102; // Temporary tag until actual use
    48   private static int JVM_CONSTANT_StringIndex             = 103; // Temporary tag while constructing constant pool
    49   private static int JVM_CONSTANT_StringIndex             = 103; // Temporary tag while constructing constant pool