Mercurial > hg > graal-compiler
diff src/share/vm/code/nmethod.cpp @ 17780:606acabe7b5c
8031320: Use Intel RTM instructions for locks
Summary: Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
author | kvn |
---|---|
date | Thu, 20 Mar 2014 17:49:27 -0700 |
parents | df832bd8edb9 |
children | 62c54fcc0a35 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Sat Mar 22 00:26:48 2014 +0400 +++ b/src/share/vm/code/nmethod.cpp Thu Mar 20 17:49:27 2014 -0700 @@ -481,7 +481,9 @@ _scavenge_root_link = NULL; _scavenge_root_state = 0; _compiler = NULL; - +#if INCLUDE_RTM_OPT + _rtm_state = NoRTM; +#endif #ifdef HAVE_DTRACE_H _trap_offset = 0; #endif // def HAVE_DTRACE_H