| 1 | shoutout to @its-pointless (live_the_dream) |
| 2 | --- ./hotspot/src/share/vm/runtime/os.cpp 2017-03-30 20:45:45.000000000 +0530 |
| 3 | +++ ../os.cpp 2017-03-31 11:04:17.097618021 +0530 |
| 4 | @@ -74,7 +74,7 @@ |
| 5 | int os::_processor_count = 0; |
| 6 | int os::_initial_active_processor_count = 0; |
| 7 | size_t os::_page_sizes[os::page_sizes_max]; |
| 8 | -const char * os::_java_home = NULL; |
| 9 | +const char * os::_java_home = "@TERMUX_PREFIX@/lib/jvm/openjdk-9"; |
| 10 | |
| 11 | #ifndef PRODUCT |
| 12 | julong os::num_mallocs = 0; // # of calls to malloc/realloc |