hotspot/src/share/vm/ci/ciEnv.cpp
changeset 17121 e40a97c700d9
parent 16378 453b42d22a85
child 17123 a8e62eed2e3e
--- a/hotspot/src/share/vm/ci/ciEnv.cpp	Wed Apr 24 18:20:04 2013 -0400
+++ b/hotspot/src/share/vm/ci/ciEnv.cpp	Thu Apr 25 11:02:32 2013 -0700
@@ -1149,23 +1149,9 @@
   record_method_not_compilable("out of memory");
 }
 
-fileStream* ciEnv::_replay_data_stream = NULL;
-
-void ciEnv::dump_replay_data() {
+void ciEnv::dump_replay_data(outputStream* out) {
   VM_ENTRY_MARK;
   MutexLocker ml(Compile_lock);
-  if (_replay_data_stream == NULL) {
-    _replay_data_stream = new (ResourceObj::C_HEAP, mtCompiler) fileStream(ReplayDataFile);
-    if (_replay_data_stream == NULL) {
-      fatal(err_msg("Can't open %s for replay data", ReplayDataFile));
-    }
-  }
-  dump_replay_data(_replay_data_stream);
-}
-
-
-void ciEnv::dump_replay_data(outputStream* out) {
-  ASSERT_IN_VM;
   ResourceMark rm;
 #if INCLUDE_JVMTI
   out->print_cr("JvmtiExport can_access_local_variables %d",     _jvmti_can_access_local_variables);