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

12

/openjdk9/jdk/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DKey.java72 protected NativeHandles handles; field in class:Key
80 protected Key(NativeHandles handles, int keyLength) argument
82 this.handles = handles;
106 return handles.hCryptKey;
114 return handles.hCryptProv;
H A DRSAKeyPair.java44 Key.NativeHandles handles = new Key.NativeHandles(hCryptProv, hCryptKey);
45 privateKey = new RSAPrivateKey(handles, keyLength);
46 publicKey = new RSAPublicKey(handles, keyLength);
H A DRSAPrivateKey.java51 RSAPrivateKey(NativeHandles handles, int keyLength) argument
53 super(handles, keyLength);
74 getKeyType(handles.hCryptKey) + ", container=" +
75 getContainerName(handles.hCryptProv) + "]";
H A DRSAPublicKey.java60 RSAPublicKey(NativeHandles handles, int keyLength) argument
62 super(handles, keyLength);
88 .append(" bits, type=").append(getKeyType(handles.hCryptKey))
89 .append(", container=").append(getContainerName(handles.hCryptProv))
104 publicKeyBlob = getPublicKeyBlob(handles.hCryptKey);
123 publicKeyBlob = getPublicKeyBlob(handles.hCryptKey);
/openjdk9/jdk/src/java.base/windows/native/libjava/
H A DProcessImpl_md.c140 (that is used for handles recycling) if needs,
148 handles */
196 /* Smart recycling of pipe handles in [pHolder]. For the failed
207 /* Stores and drops the inherit flag of handles that should not
220 /* Java does not need implicit inheritance for IOE handles,
225 The explicit inheritance for child process IOE handles is
232 /* Restores the inheritance flag of handles from stored values. */
237 /* The set of current process standard IOE handles and
238 the set of child process IOE handles can intersect.
271 jlong *handles,
266 processCreate( JNIEnv *env, const jchar *pcmd, const jchar *penvBlock, const jchar *pdir, jlong *handles, jboolean redirectErrorStream) argument
380 jlong *handles = (*env)->GetLongArrayElements(env, stdHandles, NULL); local
[all...]
/openjdk9/jdk/src/jdk.jdi/windows/native/libdt_shmem/
H A Dshmem_md.c195 HANDLE handles[2] = { mutex, event }; local
200 rc = WaitForMultipleObjects(count, handles,
266 HANDLE handles[2]; /* process, event */ local
277 handles[0] = event;
278 handles[1] = otherProcess;
282 rc = WaitForMultipleObjects(count, handles,
/openjdk9/hotspot/src/jdk.hotspot.agent/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(),
305 private void doJNIHandleBlock(JNIHandleBlock handles, AddressVisitor oopVisitor) { argument
306 handles.oopsDo(oopVisitor);
H A DPointerFinder.java110 JNIHandles handles = VM.getVM().getJNIHandles();
111 JNIHandleBlock handleBlock = handles.globalHandles();
120 handleBlock = handles.weakGlobalHandles();
128 // Look in thread-local handles
H A DAbstractHeapGraphWriter.java122 // write JNI global handles
149 JNIHandles handles = VM.getVM().getJNIHandles();
150 JNIHandleBlock blk = handles.globalHandles();
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/util/
H A DInstructionFinder.java65 private InstructionHandle[] handles; // map instruction list to array field in class:InstructionFinder
81 handles = il.getInstructionHandles();
85 buf[i] = makeChar(handles[i].getInstruction().getOpcode());
147 * @return the matched piece of code as an array of instruction (handles)
151 System.arraycopy(handles, matched_from, match, 0, match_length);
180 * @return iterator of matches where e.nextElement() returns an array of instruction handles
189 for(int i=0; i < handles.length; i++) {
190 if(handles[i] == from) {
222 * returns an array of instruction handles describing the matched
234 * @return iterator of matches where e.nextElement() returns an array of instruction handles
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/io/
H A DObjectInputStream.java287 private final HandleTable handles; field in class:ObjectInputStream
339 handles = new HandleTable(10);
373 handles = null;
424 handles.markDependency(outerHandle, passHandle);
425 ClassNotFoundException ex = handles.lookupException(passHandle);
519 handles.markDependency(outerHandle, passHandle);
520 ClassNotFoundException ex = handles.lookupException(passHandle);
573 ClassNotFoundException ex = handles.lookupException(passHandle);
1500 handles.clear();
1604 if (!enableResolve || handles
[all...]
H A DObjectOutputStream.java180 private final HandleTable handles; field in class:ObjectOutputStream
244 handles = new HandleTable(10, (float) 3.00);
279 handles = null;
306 if (handles.size() != 0) {
1030 } else if ((handle = handles.lookup(str)) != -1) {
1100 handles.clear();
1117 } else if (!unshared && (h = handles.lookup(obj)) != -1) {
1159 } else if (!unshared && (h = handles.lookup(obj)) != -1) {
1215 handles.assign(unshared ? null : cl);
1227 } else if (!unshared && (handle = handles
[all...]
/openjdk9/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11KeyStore.java1596 long[] handles = findObjects(session, attrs);
1599 for (long handle : handles) {
2211 // found multiple object handles -
2287 long[] handles = findObjects(session, attrs);
2289 for (long handle : handles) {
2315 handles = findObjects(session, attrs);
2317 for (long handle : handles) {
2410 handles = findObjects(session, attrs);
2412 for (long handle : handles) {
2671 long[] handles
[all...]
H A DSecmod.java754 long[] handles = token.p11.C_FindObjects(session.id(), MAX_NUM);
756 if (DEBUG) System.out.println("handles: " + handles.length);
758 for (long handle : handles) {
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/
H A DVM.java87 private JNIHandles handles; field in class:VM
687 if (handles == null) {
688 handles = new JNIHandles();
690 return handles;
/openjdk9/hotspot/src/share/vm/prims/
H A DjvmtiEnvBase.hpp35 #include "runtime/handles.inline.hpp"
278 jobject * new_jobjectArray(int length, Handle *handles);
279 jthread * new_jthreadArray(int length, Handle *handles);
280 jthreadGroup * new_jthreadGroupArray(int length, Handle *handles);
H A DjvmtiEnvBase.cpp539 JvmtiEnvBase::new_jobjectArray(int length, Handle *handles) { argument
548 objArray[i] = jni_reference(handles[i]);
554 JvmtiEnvBase::new_jthreadArray(int length, Handle *handles) { argument
555 return (jthread *) new_jobjectArray(length,handles);
559 JvmtiEnvBase::new_jthreadGroupArray(int length, Handle *handles) { argument
560 return (jthreadGroup *) new_jobjectArray(length,handles);
740 // Save JNI local handles for any objects that this frame owns.
H A DjniCheck.cpp37 #include "runtime/handles.hpp"
79 // QUICK_ENTRY or LEAF variants found in jni.cpp. This allows handles
195 * Add to the planned number of handles. I.e. plus current live & warning threshold
198 add_planned_handle_capacity(JNIHandleBlock* handles, size_t capacity) { argument
199 handles->set_planned_capacity(capacity +
200 handles->get_number_of_live_handles() +
236 JNIHandleBlock* handles = thr->active_handles(); local
237 size_t planned_capacity = handles->get_planned_capacity();
238 size_t live_handles = handles->get_number_of_live_handles();
246 add_planned_handle_capacity(handles,
[all...]
/openjdk9/hotspot/src/share/vm/runtime/
H A DjavaCalls.hpp30 #include "runtime/handles.hpp"
61 JNIHandleBlock* handles() const { return _handles; } function in class:JavaCallWrapper
H A DjavaCalls.cpp36 #include "runtime/handles.inline.hpp"
143 // Release handles after we are marked as being inside the VM again, since this
151 handles()->oops_do(f);
447 "Checking for handles after removal");
474 // First convert all handles to oops
564 // There shouldn't be any handles in very low memory.
H A Dthread.hpp234 // Active_handles points to a block of handles
435 void set_metadata_handles(GrowableArray<Metadata*>* handles){ _metadata_handles = handles; } argument
536 // Thread local handle area for allocation of handles within the VM
/openjdk9/hotspot/src/os/windows/vm/
H A Dos_windows.cpp3907 // The array holds handles of the threads that have started exiting by calling
3911 static HANDLE handles[MAXIMUM_THREADS_TO_KEEP]; local
3940 // Remove from the array those handles of the threads that have completed exiting.
3942 res = WaitForSingleObject(handles[i], 0 /* don't wait */);
3944 handles[j++] = handles[i];
3951 CloseHandle(handles[i]);
3955 // If there's no free slot in the array of the kept handles, we'll have to
3960 SetThreadPriority(handles[0], THREAD_PRIORITY_ABOVE_NORMAL);
3961 res = WaitForMultipleObjects(MAXIMUM_WAIT_OBJECTS, handles, FALS
[all...]
/openjdk9/nashorn/samples/
H A DMain.asm155 // which uses dynalink linker. Dynalink's bean linker handles Java beans.
/openjdk9/jdk/src/java.base/share/classes/java/lang/invoke/
H A DInvokerBytecodeGenerator.java1509 private void emitLoopHandleInvoke(Name holder, int handles, int clause, Name args, boolean pushLocalState, argument
1513 emitPushClauseArray(clauseDataSlot, handles);
/openjdk9/hotspot/src/share/vm/services/
H A DheapDumper.cpp1271 // ignore null or deleted handles
1376 // hide the sentinel for deleted handles
1682 last_entry_frame->entry_frame_call_wrapper()->handles()->oops_do(&blk);

Completed in 234 milliseconds

12