changeset 12032:5d9995d16b26

8022899: SunStudio compiler can not handle EXCEPTION_MARK and inlining Reviewed-by: coleenp, mgerdin
author ehelin
date Wed, 14 Aug 2013 13:49:36 +0200
parents 3f22cbf5275d
children bd902affe102 274ce305e5b9
files src/share/vm/utilities/exceptions.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/exceptions.hpp	Wed Aug 14 10:55:45 2013 +0200
+++ b/src/share/vm/utilities/exceptions.hpp	Wed Aug 14 13:49:36 2013 +0200
@@ -306,6 +306,6 @@
 // which preserves pre-existing exceptions and does not allow new
 // exceptions.
 
-#define EXCEPTION_MARK                           Thread* THREAD; ExceptionMark __em(THREAD);
+#define EXCEPTION_MARK                           Thread* THREAD = NULL; ExceptionMark __em(THREAD);
 
 #endif // SHARE_VM_UTILITIES_EXCEPTIONS_HPP