7131006: java/lang/management/ThreadMXBean/ThreadLists.java

Reviewed-by: dholmes, acorn
This commit is contained in:
Yumin Qi 2012-02-09 00:51:47 -08:00
parent b70c4be0d9
commit 3a09f847bb
2 changed files with 2 additions and 1 deletions

View File

@ -284,6 +284,7 @@
template(run_method_name, "run") \
template(exit_method_name, "exit") \
template(add_method_name, "add") \
template(remove_method_name, "remove") \
template(parent_name, "parent") \
template(threads_name, "threads") \
template(groups_name, "groups") \

View File

@ -32,9 +32,9 @@ PreserveExceptionMark::PreserveExceptionMark(Thread*& thread) {
thread = Thread::current();
_thread = thread;
_preserved_exception_oop = Handle(thread, _thread->pending_exception());
_thread->clear_pending_exception(); // Needed to avoid infinite recursion
_preserved_exception_line = _thread->exception_line();
_preserved_exception_file = _thread->exception_file();
_thread->clear_pending_exception(); // Needed to avoid infinite recursion
}