src/share/vm/services/management.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
6766644 Cdiff src/share/vm/services/management.cpp
src/share/vm/services/management.cpp
Print this page
rev 2029 : 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:
* * *
*** 36,45 ****
--- 36,46 ----
#include "runtime/handles.inline.hpp"
#include "runtime/interfaceSupport.hpp"
#include "runtime/javaCalls.hpp"
#include "runtime/jniHandles.hpp"
#include "runtime/os.hpp"
+ #include "runtime/serviceThread.hpp"
#include "services/classLoadingService.hpp"
#include "services/heapDumper.hpp"
#include "services/lowMemoryDetector.hpp"
#include "services/management.hpp"
#include "services/memoryManager.hpp"
*** 110,121 ****
#endif // SERVICES_KERNEL
_optional_support.isThreadAllocatedMemorySupported = 1;
}
void Management::initialize(TRAPS) {
! // Start the low memory detector thread
! LowMemoryDetector::initialize();
if (ManagementServer) {
ResourceMark rm(THREAD);
HandleMark hm(THREAD);
--- 111,122 ----
#endif // SERVICES_KERNEL
_optional_support.isThreadAllocatedMemorySupported = 1;
}
void Management::initialize(TRAPS) {
! // Start the service thread
! ServiceThread::initialize();
if (ManagementServer) {
ResourceMark rm(THREAD);
HandleMark hm(THREAD);
src/share/vm/services/management.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File