comparison src/share/vm/utilities/exceptions.hpp @ 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 ef57c43512d6
children 3cce976666d9 febc6428bc79 78bbf4d43a14
comparison
equal deleted inserted replaced
12031:3f22cbf5275d 12032:5d9995d16b26
304 304
305 // See also preserveException.hpp for PRESERVE_EXCEPTION_MARK macro, 305 // See also preserveException.hpp for PRESERVE_EXCEPTION_MARK macro,
306 // which preserves pre-existing exceptions and does not allow new 306 // which preserves pre-existing exceptions and does not allow new
307 // exceptions. 307 // exceptions.
308 308
309 #define EXCEPTION_MARK Thread* THREAD; ExceptionMark __em(THREAD); 309 #define EXCEPTION_MARK Thread* THREAD = NULL; ExceptionMark __em(THREAD);
310 310
311 #endif // SHARE_VM_UTILITIES_EXCEPTIONS_HPP 311 #endif // SHARE_VM_UTILITIES_EXCEPTIONS_HPP