Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/lib/jvm/java/include
File: jvmticmlr.h
/*
[0] Fix | Delete
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
[1] Fix | Delete
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
[2] Fix | Delete
*
[3] Fix | Delete
* This code is free software; you can redistribute it and/or modify it
[4] Fix | Delete
* under the terms of the GNU General Public License version 2 only, as
[5] Fix | Delete
* published by the Free Software Foundation. Oracle designates this
[6] Fix | Delete
* particular file as subject to the "Classpath" exception as provided
[7] Fix | Delete
* by Oracle in the LICENSE file that accompanied this code.
[8] Fix | Delete
*
[9] Fix | Delete
* This code is distributed in the hope that it will be useful, but WITHOUT
[10] Fix | Delete
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
[11] Fix | Delete
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
[12] Fix | Delete
* version 2 for more details (a copy is included in the LICENSE file that
[13] Fix | Delete
* accompanied this code).
[14] Fix | Delete
*
[15] Fix | Delete
* You should have received a copy of the GNU General Public License version
[16] Fix | Delete
* 2 along with this work; if not, write to the Free Software Foundation,
[17] Fix | Delete
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
[18] Fix | Delete
*
[19] Fix | Delete
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
[20] Fix | Delete
* or visit www.oracle.com if you need additional information or have any
[21] Fix | Delete
* questions.
[22] Fix | Delete
*/
[23] Fix | Delete
[24] Fix | Delete
/*
[25] Fix | Delete
* This header file defines the data structures sent by the VM
[26] Fix | Delete
* through the JVMTI CompiledMethodLoad callback function via the
[27] Fix | Delete
* "void * compile_info" parameter. The memory pointed to by the
[28] Fix | Delete
* compile_info parameter may not be referenced after returning from
[29] Fix | Delete
* the CompiledMethodLoad callback. These are VM implementation
[30] Fix | Delete
* specific data structures that may evolve in future releases. A
[31] Fix | Delete
* JVMTI agent should interpret a non-NULL compile_info as a pointer
[32] Fix | Delete
* to a region of memory containing a list of records. In a typical
[33] Fix | Delete
* usage scenario, a JVMTI agent would cast each record to a
[34] Fix | Delete
* jvmtiCompiledMethodLoadRecordHeader, a struct that represents
[35] Fix | Delete
* arbitrary information. This struct contains a kind field to indicate
[36] Fix | Delete
* the kind of information being passed, and a pointer to the next
[37] Fix | Delete
* record. If the kind field indicates inlining information, then the
[38] Fix | Delete
* agent would cast the record to a jvmtiCompiledMethodLoadInlineRecord.
[39] Fix | Delete
* This record contains an array of PCStackInfo structs, which indicate
[40] Fix | Delete
* for every pc address what are the methods on the invocation stack.
[41] Fix | Delete
* The "methods" and "bcis" fields in each PCStackInfo struct specify a
[42] Fix | Delete
* 1-1 mapping between these inlined methods and their bytecode indices.
[43] Fix | Delete
* This can be used to derive the proper source lines of the inlined
[44] Fix | Delete
* methods.
[45] Fix | Delete
*/
[46] Fix | Delete
[47] Fix | Delete
#ifndef _JVMTI_CMLR_H_
[48] Fix | Delete
#define _JVMTI_CMLR_H_
[49] Fix | Delete
[50] Fix | Delete
enum {
[51] Fix | Delete
JVMTI_CMLR_MAJOR_VERSION_1 = 0x00000001,
[52] Fix | Delete
JVMTI_CMLR_MINOR_VERSION_0 = 0x00000000,
[53] Fix | Delete
[54] Fix | Delete
JVMTI_CMLR_MAJOR_VERSION = 0x00000001,
[55] Fix | Delete
JVMTI_CMLR_MINOR_VERSION = 0x00000000
[56] Fix | Delete
[57] Fix | Delete
/*
[58] Fix | Delete
* This comment is for the "JDK import from HotSpot" sanity check:
[59] Fix | Delete
* version: 1.0.0
[60] Fix | Delete
*/
[61] Fix | Delete
};
[62] Fix | Delete
[63] Fix | Delete
typedef enum {
[64] Fix | Delete
JVMTI_CMLR_DUMMY = 1,
[65] Fix | Delete
JVMTI_CMLR_INLINE_INFO = 2
[66] Fix | Delete
} jvmtiCMLRKind;
[67] Fix | Delete
[68] Fix | Delete
/*
[69] Fix | Delete
* Record that represents arbitrary information passed through JVMTI
[70] Fix | Delete
* CompiledMethodLoadEvent void pointer.
[71] Fix | Delete
*/
[72] Fix | Delete
typedef struct _jvmtiCompiledMethodLoadRecordHeader {
[73] Fix | Delete
jvmtiCMLRKind kind; /* id for the kind of info passed in the record */
[74] Fix | Delete
jint majorinfoversion; /* major and minor info version values. Init'ed */
[75] Fix | Delete
jint minorinfoversion; /* to current version value in jvmtiExport.cpp. */
[76] Fix | Delete
[77] Fix | Delete
struct _jvmtiCompiledMethodLoadRecordHeader* next;
[78] Fix | Delete
} jvmtiCompiledMethodLoadRecordHeader;
[79] Fix | Delete
[80] Fix | Delete
/*
[81] Fix | Delete
* Record that gives information about the methods on the compile-time
[82] Fix | Delete
* stack at a specific pc address of a compiled method. Each element in
[83] Fix | Delete
* the methods array maps to same element in the bcis array.
[84] Fix | Delete
*/
[85] Fix | Delete
typedef struct _PCStackInfo {
[86] Fix | Delete
void* pc; /* the pc address for this compiled method */
[87] Fix | Delete
jint numstackframes; /* number of methods on the stack */
[88] Fix | Delete
jmethodID* methods; /* array of numstackframes method ids */
[89] Fix | Delete
jint* bcis; /* array of numstackframes bytecode indices */
[90] Fix | Delete
} PCStackInfo;
[91] Fix | Delete
[92] Fix | Delete
/*
[93] Fix | Delete
* Record that contains inlining information for each pc address of
[94] Fix | Delete
* an nmethod.
[95] Fix | Delete
*/
[96] Fix | Delete
typedef struct _jvmtiCompiledMethodLoadInlineRecord {
[97] Fix | Delete
jvmtiCompiledMethodLoadRecordHeader header; /* common header for casting */
[98] Fix | Delete
jint numpcs; /* number of pc descriptors in this nmethod */
[99] Fix | Delete
PCStackInfo* pcinfo; /* array of numpcs pc descriptors */
[100] Fix | Delete
} jvmtiCompiledMethodLoadInlineRecord;
[101] Fix | Delete
[102] Fix | Delete
/*
[103] Fix | Delete
* Dummy record used to test that we can pass records with different
[104] Fix | Delete
* information through the void pointer provided that they can be cast
[105] Fix | Delete
* to a jvmtiCompiledMethodLoadRecordHeader.
[106] Fix | Delete
*/
[107] Fix | Delete
[108] Fix | Delete
typedef struct _jvmtiCompiledMethodLoadDummyRecord {
[109] Fix | Delete
jvmtiCompiledMethodLoadRecordHeader header; /* common header for casting */
[110] Fix | Delete
char message[50];
[111] Fix | Delete
} jvmtiCompiledMethodLoadDummyRecord;
[112] Fix | Delete
[113] Fix | Delete
#endif
[114] Fix | Delete
[115] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function