Mercurial > hg > truffle
comparison src/os/solaris/vm/os_solaris.cpp @ 12355:cefad50507d8
Merge with hs25-b53
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 11 Oct 2013 10:38:03 +0200 |
parents | 6b0fd0964b87 40136aa2cdb1 |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
12058:ccb4f2af2319 | 12355:cefad50507d8 |
---|---|
3383 return false; | 3383 return false; |
3384 } | 3384 } |
3385 return true; | 3385 return true; |
3386 } | 3386 } |
3387 | 3387 |
3388 char* os::reserve_memory_special(size_t size, char* addr, bool exec) { | 3388 char* os::reserve_memory_special(size_t size, size_t alignment, char* addr, bool exec) { |
3389 fatal("os::reserve_memory_special should not be called on Solaris."); | 3389 fatal("os::reserve_memory_special should not be called on Solaris."); |
3390 return NULL; | 3390 return NULL; |
3391 } | 3391 } |
3392 | 3392 |
3393 bool os::release_memory_special(char* base, size_t bytes) { | 3393 bool os::release_memory_special(char* base, size_t bytes) { |
5176 | 5176 |
5177 #ifndef PRODUCT | 5177 #ifndef PRODUCT |
5178 if(Verbose && PrintMiscellaneous) | 5178 if(Verbose && PrintMiscellaneous) |
5179 tty->print("[Memory Serialize Page address: " INTPTR_FORMAT "]\n", (intptr_t)mem_serialize_page); | 5179 tty->print("[Memory Serialize Page address: " INTPTR_FORMAT "]\n", (intptr_t)mem_serialize_page); |
5180 #endif | 5180 #endif |
5181 } | 5181 } |
5182 | |
5183 os::large_page_init(); | |
5184 | 5182 |
5185 // Check minimum allowable stack size for thread creation and to initialize | 5183 // Check minimum allowable stack size for thread creation and to initialize |
5186 // the java system classes, including StackOverflowError - depends on page | 5184 // the java system classes, including StackOverflowError - depends on page |
5187 // size. Add a page for compiler2 recursion in main thread. | 5185 // size. Add a page for compiler2 recursion in main thread. |
5188 // Add in 2*BytesPerWord times page size to account for VM stack during | 5186 // Add in 2*BytesPerWord times page size to account for VM stack during |
6599 return 0; | 6597 return 0; |
6600 } | 6598 } |
6601 | 6599 |
6602 return strlen(buffer); | 6600 return strlen(buffer); |
6603 } | 6601 } |
6602 | |
6603 #ifndef PRODUCT | |
6604 void TestReserveMemorySpecial_test() { | |
6605 // No tests available for this platform | |
6606 } | |
6607 #endif |