# HG changeset patch # User sspitsyn # Date 1481154331 0 # Node ID 2d3bde7569e083fe99d422e86eb95633a7dc11eb # Parent f4b39e85487d1e48f17585b0c7d04471f357c6a6# Parent 6c6bdb0d227c5b6e5db855198901ec192ddb4696 Merge diff -r f4b39e85487d -r 2d3bde7569e0 hotspot/src/share/vm/prims/jvmti.xml --- a/hotspot/src/share/vm/prims/jvmti.xml Wed Dec 07 23:38:37 2016 +0100 +++ b/hotspot/src/share/vm/prims/jvmti.xml Wed Dec 07 23:45:31 2016 +0000 @@ -404,7 +404,7 @@ interfaces are more appropriate than for many tools. For more information on the Java Platform Debugger Architecture, see the - Java + Java Platform Debugger Architecture website. @@ -764,7 +764,8 @@ An agent creates a environment by passing a version as the interface ID to the JNI Invocation API function - GetEnv. + + GetEnv. See Accessing Functions for more details on the creation and use of environments. @@ -885,7 +886,7 @@ Modified UTF-8 differs from standard UTF-8 in the representation of supplementary characters and of the null character. See the - + Modified UTF-8 Strings section of the JNI specification for details. @@ -915,7 +916,7 @@ by calling functions. Access to functions is by use of an interface pointer in the same manner as - Java + Java Native Interface (JNI) functions are accessed. The interface pointer is called the environment pointer. @@ -1007,7 +1008,8 @@ local references--these local references are created during the call. Local references are a resource that must be managed (see the - JNI Documentation). + + JNI Documentation). When threads return from native code all local references are freed. Note that some threads, including typical agent threads, will never return from native code. @@ -1042,7 +1044,7 @@ function. See the Java Exceptions section of the JNI specification for information on handling exceptions. @@ -2107,8 +2109,8 @@ ).

Upon execution of proc, the new thread will be attached to the - VM--see the JNI documentation on - Attaching to the VM. jvmdiClone @@ -6650,7 +6652,7 @@ Get Class Signature For the class indicated by klass, return the - JNI + JNI type signature and the generic signature of the class. For example, java.util.List is "Ljava/util/List;" @@ -7770,8 +7772,9 @@ return the field name via and field signature via .

- Field signatures are defined in the JNI Specification and - are referred to as field descriptors in + Field signatures are defined in the + JNI Specification + and are referred to as field descriptors in . jvmdiClone @@ -7966,8 +7969,9 @@ return the method name via name_ptr and method signature via signature_ptr.

- Method signatures are defined in the JNI Specification and are - referred to as method descriptors in + Method signatures are defined in the + JNI Specification + and are referred to as method descriptors in . Note this is different than method signatures as defined in the Java Language Specification. @@ -8939,7 +8943,7 @@ Provides the ability to intercept and resend Java Native Interface (JNI) function calls by manipulating the JNI function table. - See JNI + See JNI Functions in the Java Native Interface Specification.

The following example illustrates intercepting the @@ -10640,7 +10644,7 @@ for a class. The segment is typically a directory or JAR file.

In the live phase the may be used to specify any platform-dependent - path to a + path to a JAR file. The agent should take care that the JAR file does not contain any classes or resources other than those to be defined by the bootstrap class loader for the purposes of instrumentation. @@ -10687,8 +10691,8 @@ search path segment to be searched after the system class loader unsuccessfully searches for a class. The segment is typically a directory or JAR file.

- In the live phase the is a platform-dependent path to a JAR file to be + In the live phase the is a platform-dependent path to a + JAR file to be searched after the system class loader unsuccessfully searches for a class. The agent should take care that the JAR file does not contain any classes or resources other than those to be defined by the system class loader for the purposes of instrumentation. @@ -13519,7 +13523,8 @@ Typedef for the JNI function table JNINativeInterface defined in the - JNI Specification. + + JNI Specification. The JNI reference implementation defines this with an underscore. diff -r f4b39e85487d -r 2d3bde7569e0 hotspot/src/share/vm/prims/jvmti.xsl --- a/hotspot/src/share/vm/prims/jvmti.xsl Wed Dec 07 23:38:37 2016 +0100 +++ b/hotspot/src/share/vm/prims/jvmti.xsl Wed Dec 07 23:45:31 2016 +0000 @@ -1033,6 +1033,10 @@ + + http://docs.oracle.com/javase/ + + /