changeset 3108:1b0e0f8be510

7131006: java/lang/management/ThreadMXBean/ThreadLists.java Reviewed-by: dholmes, acorn
author minqi
date Thu, 09 Feb 2012 00:51:47 -0800
parents ea677dbdd883
children ea527c5cde03
files src/share/vm/classfile/vmSymbols.hpp src/share/vm/utilities/preserveException.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/classfile/vmSymbols.hpp	Tue Feb 07 12:34:31 2012 -0800
+++ b/src/share/vm/classfile/vmSymbols.hpp	Thu Feb 09 00:51:47 2012 -0800
@@ -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")                                   \
--- a/src/share/vm/utilities/preserveException.cpp	Tue Feb 07 12:34:31 2012 -0800
+++ b/src/share/vm/utilities/preserveException.cpp	Thu Feb 09 00:51:47 2012 -0800
@@ -32,9 +32,9 @@
   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
 }