Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 07, 2012
@smarr Fix compilation
- linked needed now these constants in his realm
- missing header as dependency to trigger rebuilds

Signed-off-by: Stefan Marr <git@stefan-marr.de>
4c1c0b0
@smarr the time machine hack is only necessary when running in Xcode
Signed-off-by: Stefan Marr <git@stefan-marr.de>
1831cfd
View
2  vm/src/heap/read_mostly_memory_system.cpp
@@ -18,6 +18,8 @@
u_int32 Read_Mostly_Memory_System::memory_per_read_mostly_heap = 0;
u_int32 Read_Mostly_Memory_System::log_memory_per_read_mostly_heap = 0;
+const int Read_Mostly_Memory_System::read_mostly = 0;
+const int Read_Mostly_Memory_System::read_write = 1;
void Read_Mostly_Memory_System::enforce_coherence_after_each_core_has_stored_into_its_own_heap() {
View
4 vm/src/heap/read_mostly_memory_system.h
@@ -59,8 +59,8 @@
class Read_Mostly_Memory_System : public Abstract_Memory_System {
protected:
static const int max_num_mutabilities = 2;
- static const int read_mostly = 0;
- static const int read_write = 1;
+ static const int read_mostly; // = 0; in implementation since it needs linker visibility
+ static const int read_write; // = 1; in implementation since it needs linker visibility
int second_chance_cores_for_allocation[max_num_mutabilities]; // made threadsafe to increase the reliability of the value
View
1  vm/src/makefiles/Makefile.common
@@ -198,6 +198,7 @@ RVM_HEADERS = \
multicore_object_table.h \
memory_system.h \
basic_memory_system.h \
+ read_mostly_memory_system.h \
core_tracer.h \
abstract_tracer.h \
oop_tracer.h \
View
5 vm/src/runtime/main.cpp
@@ -354,8 +354,9 @@ int main(int argc, char *argv[]) {
exit(1);
}
}
-
- OS_Interface::ensure_Time_Machine_backs_up_run_directory();
+
+ if (Include_Debugging_Code)
+ OS_Interface::ensure_Time_Machine_backs_up_run_directory();
initialize_interpreter_instances_selftest_and_interpreter_proxy(orig_argv);

No commit comments for this range

Something went wrong with that request. Please try again.