Index: compile.cpp =================================================================== --- compile.cpp (revision 526137) +++ compile.cpp (working copy) @@ -44,6 +44,7 @@ #include "vm_stats.h" #include "dump.h" +#include "port_nonatomic.h" extern bool parallel_jit; @@ -658,9 +659,10 @@ TRACE("compile_do_compilation_jit(): returned from jit->compile_method_with_params() for method " << method ); + UNSAFE_REGION_START // Convertion from microseconds to milliseconds vm_env->total_compilation_time += ((apr_time_now() - start)/1000); - + UNSAFE_REGION_END if (JIT_SUCCESS != res) { if (!parallel_jit) { vm_env->p_jit_a_method_lock->_unlock();