Searched refs:handles (Results 1 - 19 of 19) sorted by relevance

/openjdk7/jdk/src/windows/native/java/lang/
H A DProcessImpl_md.c152 jlong *handles = NULL; local
176 handles = (*env)->GetLongArrayElements(env, stdHandles, NULL);
177 if (handles == NULL) goto Catch;
187 if (handles[0] != (jlong) -1) {
188 si.hStdInput = (HANDLE) handles[0];
189 handles[0] = (jlong) -1;
197 handles[0] = (jlong) inWrite;
201 if (handles[1] != (jlong) -1) {
202 si.hStdOutput = (HANDLE) handles[1];
203 handles[
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dhandles.cpp28 #include "runtime/handles.inline.hpp"
131 // Debug code to trace the number of handles allocated per mark/
134 size_t handles = 0; local
137 handles = area->_hwm - _hwm; // no new chunk allocated
139 handles = _max - _hwm; // add rest in first chunk
141 handles += c->length();
144 handles -= area->_max - area->_hwm; // adjust for last trunk not full
146 handles /= sizeof(void *); // Adjust for size of a handle
147 if (handles > HandleAllocationLimit) {
149 warning("%d: Allocated in HandleMark : %d", _nof_handlemarks, handles);
[all...]
H A DjavaCalls.hpp30 #include "runtime/handles.hpp"
84 JNIHandleBlock* handles() const { return _handles; } function in class:JavaCallWrapper
H A DjavaCalls.cpp36 #include "runtime/handles.inline.hpp"
150 // Release handles after we are marked as being inside the VM again, since this
159 handles()->oops_do(f);
442 // First convert all handles to oops
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECKeyPairGenerator.java126 long[] handles = generateECKeyPair(keySize, encodedParams, seed);
131 // handles[0] points to the native private key
132 BigInteger s = new BigInteger(1, getEncodedBytes(handles[0]));
137 // handles[1] points to the native public key
138 ECPoint w = ECParameters.decodePoint(getEncodedBytes(handles[1]),
163 * Generates the keypair and returns a 2-element array of handles.
/openjdk7/jdk/src/windows/transport/shmem/
H A Dshmem_md.c190 HANDLE handles[2] = { mutex, event }; local
195 rc = WaitForMultipleObjects(count, handles,
261 HANDLE handles[2]; /* process, event */ local
272 handles[0] = event;
273 handles[1] = otherProcess;
277 rc = WaitForMultipleObjects(count, handles,
/openjdk7/jdk/src/share/classes/java/io/
H A DObjectInputStream.java250 private final HandleTable handles; field in class:ObjectInputStream
296 handles = new HandleTable(10);
325 handles = null;
371 handles.markDependency(outerHandle, passHandle);
372 ClassNotFoundException ex = handles.lookupException(passHandle);
461 handles.markDependency(outerHandle, passHandle);
462 ClassNotFoundException ex = handles.lookupException(passHandle);
509 ClassNotFoundException ex = handles.lookupException(passHandle);
1290 handles.clear();
1393 if (!enableResolve || handles
[all...]
H A DObjectOutputStream.java179 private final HandleTable handles; field in class:ObjectOutputStream
243 handles = new HandleTable(10, (float) 3.00);
277 handles = null;
304 if (handles.size() != 0) {
1024 } else if ((handle = handles.lookup(str)) != -1) {
1096 handles.clear();
1113 } else if (!unshared && (h = handles.lookup(obj)) != -1) {
1155 } else if (!unshared && (h = handles.lookup(obj)) != -1) {
1211 handles.assign(unshared ? null : cl);
1223 } else if (!unshared && (handle = handles
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DReversePtrsAnalysis.java40 fields in classes, and JNI handles. These should be most of the
108 // Do global JNI handles
109 JNIHandles handles = VM.getVM().getJNIHandles();
110 doJNIHandleBlock(handles.globalHandles(),
112 doJNIHandleBlock(handles.weakGlobalHandles(),
304 private void doJNIHandleBlock(JNIHandleBlock handles, AddressVisitor oopVisitor) { argument
305 handles.oopsDo(oopVisitor);
H A DPointerFinder.java115 JNIHandles handles = VM.getVM().getJNIHandles();
116 JNIHandleBlock handleBlock = handles.globalHandles();
125 handleBlock = handles.weakGlobalHandles();
133 // Look in thread-local handles
H A DAbstractHeapGraphWriter.java118 // write JNI global handles
145 JNIHandles handles = VM.getVM().getJNIHandles();
146 JNIHandleBlock blk = handles.globalHandles();
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DInstructionFinder.java100 private InstructionHandle[] handles; // map instruction list to array field in class:InstructionFinder
116 handles = il.getInstructionHandles();
120 buf[i] = makeChar(handles[i].getInstruction().getOpcode());
182 * @return the matched piece of code as an array of instruction (handles)
186 System.arraycopy(handles, matched_from, match, 0, match_length);
215 * @return iterator of matches where e.nextElement() returns an array of instruction handles
224 for(int i=0; i < handles.length; i++) {
225 if(handles[i] == from) {
263 * returns an array of instruction handles describing the matched
275 * @return iterator of matches where e.nextElement() returns an array of instruction handles
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiEnvBase.hpp34 #include "runtime/handles.inline.hpp"
260 jobject * new_jobjectArray(int length, Handle *handles);
261 jthread * new_jthreadArray(int length, Handle *handles);
262 jthreadGroup * new_jthreadGroupArray(int length, Handle *handles);
H A DjvmtiEnvBase.cpp525 JvmtiEnvBase::new_jobjectArray(int length, Handle *handles) { argument
534 objArray[i] = jni_reference(handles[i]);
540 JvmtiEnvBase::new_jthreadArray(int length, Handle *handles) { argument
541 return (jthread *) new_jobjectArray(length,handles);
545 JvmtiEnvBase::new_jthreadGroupArray(int length, Handle *handles) { argument
546 return (jthreadGroup *) new_jobjectArray(length,handles);
726 // Save JNI local handles for any objects that this frame owns.
H A DjvmtiTagMap.cpp2599 // ignore null or deleted handles
2667 // ignore null or deleted handles
3154 last_entry_frame->entry_frame_call_wrapper()->handles()->oops_do(blk);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyStore.java1612 long[] handles = findObjects(session, attrs);
1615 for (long handle : handles) {
2226 // found multiple object handles -
2302 long[] handles = findObjects(session, attrs);
2304 for (long handle : handles) {
2330 handles = findObjects(session, attrs);
2332 for (long handle : handles) {
2425 handles = findObjects(session, attrs);
2427 for (long handle : handles) {
2686 long[] handles
[all...]
H A DSecmod.java736 long[] handles = token.p11.C_FindObjects(session.id(), MAX_NUM);
738 if (DEBUG) System.out.println("handles: " + handles.length);
740 for (long handle : handles) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DVM.java85 private JNIHandles handles; field in class:VM
616 if (handles == null) {
617 handles = new JNIHandles();
619 return handles;
/openjdk7/hotspot/src/share/vm/services/
H A DheapDumper.cpp1184 // ignore null or deleted handles
1298 // hide the sentinel for deleted handles
1637 last_entry_frame->entry_frame_call_wrapper()->handles()->oops_do(&blk);

Completed in 137 milliseconds