mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8046070: Class Data Sharing clean up and refactoring
Cleaned up CDS to be more configurable, maintainable and extensible Reviewed-by: dholmes, coleenp, acorn, mchung
This commit is contained in:
parent
1fec07f4bf
commit
bbe6f51f81
42 changed files with 2087 additions and 434 deletions
|
@ -85,9 +85,13 @@ bool Exceptions::special_exception(Thread* thread, const char* file, int line, H
|
|||
#endif // ASSERT
|
||||
|
||||
if (thread->is_VM_thread()
|
||||
|| thread->is_Compiler_thread() ) {
|
||||
|| thread->is_Compiler_thread()
|
||||
|| DumpSharedSpaces ) {
|
||||
// We do not care what kind of exception we get for the vm-thread or a thread which
|
||||
// is compiling. We just install a dummy exception object
|
||||
//
|
||||
// We also cannot throw a proper exception when dumping, because we cannot run
|
||||
// Java bytecodes now. A dummy exception will suffice.
|
||||
thread->set_pending_exception(Universe::vm_exception(), file, line);
|
||||
return true;
|
||||
}
|
||||
|
@ -108,9 +112,13 @@ bool Exceptions::special_exception(Thread* thread, const char* file, int line, S
|
|||
}
|
||||
|
||||
if (thread->is_VM_thread()
|
||||
|| thread->is_Compiler_thread() ) {
|
||||
|| thread->is_Compiler_thread()
|
||||
|| DumpSharedSpaces ) {
|
||||
// We do not care what kind of exception we get for the vm-thread or a thread which
|
||||
// is compiling. We just install a dummy exception object
|
||||
//
|
||||
// We also cannot throw a proper exception when dumping, because we cannot run
|
||||
// Java bytecodes now. A dummy exception will suffice.
|
||||
thread->set_pending_exception(Universe::vm_exception(), file, line);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue