comparison src/share/vm/services/attachListener.hpp @ 2195:bf8517f4e4d0

6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread" Summary: Defer posting events from the compiler thread: use service thread Reviewed-by: coleenp, dholmes, never, dcubed
author kamg
date Wed, 02 Feb 2011 14:38:01 -0500
parents f95d63e2154a
children 1d1603768966
comparison
equal deleted inserted replaced
2194:face83fc8882 2195:bf8517f4e4d0
57 57
58 // invoke to perform clean-up tasks when all clients detach 58 // invoke to perform clean-up tasks when all clients detach
59 static void detachall() KERNEL_RETURN; 59 static void detachall() KERNEL_RETURN;
60 60
61 // indicates if the Attach Listener needs to be created at startup 61 // indicates if the Attach Listener needs to be created at startup
62 static bool init_at_startup() KERNEL_RETURN_(return false;); 62 static bool init_at_startup() KERNEL_RETURN_(false);
63 63
64 // indicates if we have a trigger to start the Attach Listener 64 // indicates if we have a trigger to start the Attach Listener
65 static bool is_init_trigger() KERNEL_RETURN_(return false;); 65 static bool is_init_trigger() KERNEL_RETURN_(false);
66 66
67 #ifdef SERVICES_KERNEL 67 #ifdef SERVICES_KERNEL
68 static bool is_attach_supported() { return false; } 68 static bool is_attach_supported() { return false; }
69 #else // SERVICES_KERNEL 69 #else // SERVICES_KERNEL
70 private: 70 private: