< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/threadControl.h

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 38,49 **** void threadControl_onConnect(void); void threadControl_onDisconnect(void); jvmtiError threadControl_popFrames(jthread thread, FrameNumber fnum); ! struct bag *threadControl_onEventHandlerEntry(jbyte sessionID, ! EventIndex ei, jthread thread, jobject currentException); void threadControl_onEventHandlerExit(EventIndex ei, jthread thread, struct bag *); jvmtiError threadControl_suspendThread(jthread thread, jboolean deferred); jvmtiError threadControl_resumeThread(jthread thread, jboolean do_unblock); --- 38,48 ---- void threadControl_onConnect(void); void threadControl_onDisconnect(void); jvmtiError threadControl_popFrames(jthread thread, FrameNumber fnum); ! struct bag *threadControl_onEventHandlerEntry(jbyte sessionID, EventInfo *evinfo, jobject currentException); void threadControl_onEventHandlerExit(EventIndex ei, jthread thread, struct bag *); jvmtiError threadControl_suspendThread(jthread thread, jboolean deferred); jvmtiError threadControl_resumeThread(jthread thread, jboolean do_unblock);
*** 56,65 **** --- 55,65 ---- InvokeRequest *threadControl_getInvokeRequest(jthread); jboolean threadControl_isDebugThread(jthread thread); jvmtiError threadControl_addDebugThread(jthread thread); + void threadControl_setName(jthread thread, const char *name); jvmtiError threadControl_applicationThreadStatus(jthread thread, jdwpThreadStatus *pstatus, jint *suspendStatus); jvmtiError threadControl_interrupt(jthread thread); jvmtiError threadControl_stop(jthread thread, jobject throwable); jvmtiError threadControl_setEventMode(jvmtiEventMode mode, EventIndex ei, jthread thread);
*** 73,78 **** --- 73,89 ---- void threadControl_saveCLEInfo(JNIEnv *env, jthread thread, EventIndex ei, jclass clazz, jmethodID method, jlocation location); jlong threadControl_getFrameGeneration(jthread thread); + jthread *threadControl_allFibers(jint *numFibers); + jthread threadControl_getFiberCarrierOrHelperThread(jthread fiber); + void threadControl_addFiber(jthread fiber); + jboolean threadControl_isKnownFiber(jthread fiber); + + void threadControl_unmountFiber(jthread fiber, jthread thread); + void threadControl_mountFiber(jthread fiber, jthread thread, jbyte sessionID); + + void threadControl_continuationRun(jthread thread, jint frames_count); + void threadControl_continuationYield(jthread thread, jint frames_count); + #endif
< prev index next >