src/share/vm/prims/jvmti.xml

Print this page

        

@@ -402,11 +402,11 @@
     The Java Platform Debugger Architecture includes <jvmti/>, but also
     contains higher-level, out-of-process debugger interfaces. The higher-level 
     interfaces are more appropriate than <jvmti/> for many tools. 
     For more information on the Java Platform Debugger Architecture, 
     see the 
-    <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/architecture.html">Java 
+    <externallink id="docs/technotes/guides/jpda/architecture.html">Java 
       Platform Debugger Architecture website</externallink>. 
   </intro>
 
   <intro id="writingAgents" label="Writing Agents">
     Agents can be written in any native language that supports C

@@ -762,11 +762,12 @@
     the likelihood of these occurrences are beyond the scope of this document.
     <p/>
     An agent creates a <jvmti/> environment 
     by passing a <jvmti/> version 
     as the interface ID to the JNI Invocation API function 
-    <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/invocation.html#GetEnv"><code>GetEnv</code></externallink>.
+    <externallink id="docs/technotes/guides/jni/spec/invocation.html#GetEnv">
+      <code>GetEnv</code></externallink>.
     See <internallink id="jvmtiEnvAccess">Accessing <jvmti/> Functions</internallink>
     for more details on the creation and use of 
     <jvmti/> environments.
     Typically, <jvmti/> environments are created by calling <code>GetEnv</code> from 
     <internallink id="onload"><code>Agent_OnLoad</code></internallink>.

@@ -883,11 +884,11 @@
     <jvmti/> uses modified UTF-8 to encode character strings.
     This is the same encoding used by JNI.
     Modified UTF-8 differs 
     from standard UTF-8 in the representation of supplementary characters 
     and of the null character. See the
-    <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/types.html#wp16542">
+    <externallink id="docs/technotes/guides/jni/spec/types.html#modified_utf_8_strings">
       Modified UTF-8 Strings</externallink>
     section of the JNI specification for details.
   </intro>
 
   <intro id="context" label="Specification Context">

@@ -913,11 +914,11 @@
   <intro id="jvmtiEnvAccess" label="Accessing Functions">
     Native code accesses <jvmti/> features 
     by calling <jvmti/> functions. 
     Access to <jvmti/> functions is by use of an interface pointer
     in the same manner as 
-    <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/design.html">Java 
+    <externallink id="docs/technotes/guides/jni/spec/design.html">Java 
       Native Interface (JNI) functions</externallink> are accessed.
     The <jvmti/> interface pointer is called the 
     <i>environment pointer</i>.
     <p/>
     An environment pointer is a pointer to an environment and has

@@ -1005,11 +1006,12 @@
     <jvmti/> functions can be either global or local, but they must be 
     strong references. All references returned by <jvmti/> functions are 
     local references--these local references are created 
     during the <jvmti/> call.
     Local references are a resource that must be managed (see the 
-    <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html#wp18654">JNI Documentation</externallink>).  
+    <externallink id="docs/technotes/guides/jni/spec/functions.html#local_references">
+      JNI Documentation</externallink>).  
     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.
     A thread is ensured the ability to create sixteen local 
     references without the need for any explicit management.

@@ -1040,11 +1042,11 @@
       <internallink id="functionReturn">function return value</internallink>.
       Any existing exception state is preserved across a call to a 
       <jvmti/> function.
       See the
       <externallink 
-        id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/design.html#wp770"
+        id="docs/technotes/guides/jni/spec/design.html#java_exceptions"
              >Java Exceptions</externallink>
       section of the JNI specification for information on handling exceptions.
     </intro>
 
   <category id="memory" label="Memory Management">

@@ -2106,11 +2108,11 @@
         <functionlink id="GetAllThreads"/> and
         <functionlink id="GetAllStackTraces"/>).
         <p/>
         Upon execution of <code>proc</code>, the new thread will be attached to the
         VM--see the JNI documentation on 
-        <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/invocation.html#wp1060"
+        <externallink id="docs/technotes/guides/jni/spec/invocation.html#attaching_to_the_vm"
                       >Attaching to the VM</externallink>.
       </description>
       <origin>jvmdiClone</origin>
       <capabilities>
       </capabilities>

@@ -6648,11 +6650,11 @@
 
     <function id="GetClassSignature" phase="start" num="48">
       <synopsis>Get Class Signature</synopsis>
       <description>
         For the class indicated by <code>klass</code>, return the 
-        <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/types.html#wp16432">JNI 
+        <externallink id="docs/technotes/guides/jni/spec/types.html#type_signatures">JNI 
             type signature</externallink> 
         and the generic signature of the class.
         For example, <code>java.util.List</code> is <code>"Ljava/util/List;"</code>
         and <code>int[]</code> is <code>"[I"</code>
         The returned name for primitive classes

@@ -8937,11 +8939,11 @@
 
     <intro>
       Provides the ability to intercept and resend 
       Java Native Interface (JNI) function calls
       by manipulating the JNI function table.
-      See <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html">JNI
+      See <externallink id="docs/technotes/guides/jni/spec/functions.html">JNI
         Functions</externallink> in the <i>Java Native Interface Specification</i>.
       <p/>
       The following example illustrates intercepting the 
       <code>NewGlobalRef</code> JNI call in order to count reference
       creation.

@@ -10638,11 +10640,11 @@
           In the <code>OnLoad</code> phase the function may be used to specify any platform-dependent 
           search path segment to be searched after the bootstrap class loader unsuccessfully searches
           for a class. The segment is typically a directory or JAR file.
           <p/>    
           In the live phase the <paramlink id="segment"/> may be used to specify any platform-dependent
-          path to a <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html">
+          path to a <externallink id="docs/technotes/guides/jar/jar.html">
           JAR file</externallink>. 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.
           <p/>
           <vmspec/> specifies that a subsequent attempt to resolve a symbolic

@@ -10685,12 +10687,12 @@
           <p/>
           In the <code>OnLoad</code> phase the function may be used to specify any platform-dependent 
           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.
           <p/>    
-          In the live phase the <paramlink id="segment"/> is a platform-dependent path to a <externallink 
-          id="http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html">JAR file</externallink> to be
+          In the live phase the <paramlink id="segment"/> is a platform-dependent path to a
+          <externallink id="docs/technotes/guides/jar/jar.html">JAR file</externallink> 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.
           <p/>
           In the live phase the system class loader supports adding a JAR file to be searched if

@@ -13517,11 +13519,12 @@
     <basetype id="jniNativeInterface">
       <definition>typedef struct JNINativeInterface_ jniNativeInterface;</definition>
       <description>
         Typedef for the JNI function table <code>JNINativeInterface</code>
         defined in the 
-        <externallink id="http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html#wp23720">JNI Specification</externallink>.
+        <externallink id="docs/technotes/guides/jni/spec/functions.html#interface_function_table">
+          JNI Specification</externallink>.
         The JNI reference implementation defines this with an underscore.
       </description>
     </basetype>
   </basetypes>