< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/standardHandlers.c

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 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) 2001, 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
*** 34,43 **** --- 34,44 ---- #include "eventHelper.h" #include "classTrack.h" #include "standardHandlers.h" + /* HandlerFunction - Invoked from event_callback() */ static void handleClassPrepare(JNIEnv *env, EventInfo *evinfo, HandlerNode *node, struct bag *eventBag) {
*** 73,90 **** --- 74,93 ---- } eventHelper_recordEvent(evinfo, node->handlerID, node->suspendPolicy, eventBag); } + /* HandlerFunction - Invoked from event_callback() */ static void handleGarbageCollectionFinish(JNIEnv *env, EventInfo *evinfo, HandlerNode *node, struct bag *eventBag) { JDI_ASSERT_MSG(JNI_FALSE, "Should never call handleGarbageCollectionFinish"); } + /* HandlerFunction - Invoked from event_callback() */ static void handleFrameEvent(JNIEnv *env, EventInfo *evinfo, HandlerNode *node, struct bag *eventBag) {
*** 120,129 **** --- 123,133 ---- node->needReturnValue, returnValue, eventBag); } + /* HandlerFunction - Invoked from event_callback() */ static void genericHandler(JNIEnv *env, EventInfo *evinfo, HandlerNode *node, struct bag *eventBag) {
*** 145,154 **** --- 149,164 ---- case EI_VM_DEATH: case EI_MONITOR_CONTENDED_ENTER: case EI_MONITOR_CONTENDED_ENTERED: case EI_MONITOR_WAIT: case EI_MONITOR_WAITED: + case EI_FIBER_SCHEDULED: + case EI_FIBER_TERMINATED: + case EI_FIBER_MOUNT: + case EI_FIBER_UNMOUNT: + case EI_CONTINUATION_RUN: + case EI_CONTINUATION_YIELD: return &genericHandler; case EI_CLASS_PREPARE: return &handleClassPrepare;
< prev index next >