Mercurial > hg > truffle
comparison src/share/vm/ci/ciEnv.cpp @ 12883:f50418dfb1b7
Merge
author | iveresov |
---|---|
date | Sun, 13 Oct 2013 13:22:24 -0700 |
parents | 5cc2d82aa82a |
children | b8860472c377 |
comparison
equal
deleted
inserted
replaced
12844:7c26dced065e | 12883:f50418dfb1b7 |
---|---|
1152 | 1152 |
1153 ciInstance* ciEnv::unloaded_ciinstance() { | 1153 ciInstance* ciEnv::unloaded_ciinstance() { |
1154 GUARDED_VM_ENTRY(return _factory->get_unloaded_object_constant();) | 1154 GUARDED_VM_ENTRY(return _factory->get_unloaded_object_constant();) |
1155 } | 1155 } |
1156 | 1156 |
1157 void ciEnv::dump_replay_data(outputStream* out) { | 1157 // ------------------------------------------------------------------ |
1158 VM_ENTRY_MARK; | 1158 // ciEnv::dump_replay_data* |
1159 MutexLocker ml(Compile_lock); | 1159 |
1160 // Don't change thread state and acquire any locks. | |
1161 // Safe to call from VM error reporter. | |
1162 void ciEnv::dump_replay_data_unsafe(outputStream* out) { | |
1160 ResourceMark rm; | 1163 ResourceMark rm; |
1161 #if INCLUDE_JVMTI | 1164 #if INCLUDE_JVMTI |
1162 out->print_cr("JvmtiExport can_access_local_variables %d", _jvmti_can_access_local_variables); | 1165 out->print_cr("JvmtiExport can_access_local_variables %d", _jvmti_can_access_local_variables); |
1163 out->print_cr("JvmtiExport can_hotswap_or_post_breakpoint %d", _jvmti_can_hotswap_or_post_breakpoint); | 1166 out->print_cr("JvmtiExport can_hotswap_or_post_breakpoint %d", _jvmti_can_hotswap_or_post_breakpoint); |
1164 out->print_cr("JvmtiExport can_post_on_exceptions %d", _jvmti_can_post_on_exceptions); | 1167 out->print_cr("JvmtiExport can_post_on_exceptions %d", _jvmti_can_post_on_exceptions); |
1179 method->name()->as_quoted_ascii(), | 1182 method->name()->as_quoted_ascii(), |
1180 method->signature()->as_quoted_ascii(), | 1183 method->signature()->as_quoted_ascii(), |
1181 entry_bci, comp_level); | 1184 entry_bci, comp_level); |
1182 out->flush(); | 1185 out->flush(); |
1183 } | 1186 } |
1187 | |
1188 void ciEnv::dump_replay_data(outputStream* out) { | |
1189 GUARDED_VM_ENTRY( | |
1190 MutexLocker ml(Compile_lock); | |
1191 dump_replay_data_unsafe(out); | |
1192 ) | |
1193 } |