Mercurial > hg > truffle
diff src/share/vm/utilities/macros.hpp @ 2195:bf8517f4e4d0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Summary: Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
author | kamg |
---|---|
date | Wed, 02 Feb 2011 14:38:01 -0500 |
parents | f95d63e2154a |
children | 1b4e6a5d98e0 |
line wrap: on
line diff
--- a/src/share/vm/utilities/macros.hpp Wed Feb 02 18:38:40 2011 -0500 +++ b/src/share/vm/utilities/macros.hpp Wed Feb 02 14:38:01 2011 -0500 @@ -46,7 +46,7 @@ #define SERVICES_KERNEL #define KERNEL_RETURN {} -#define KERNEL_RETURN_(code) { code } +#define KERNEL_RETURN_(code) { return code; } #else // KERNEL