--- a/hotspot/src/share/vm/runtime/os.hpp Wed Mar 09 09:45:47 2016 +0100
+++ b/hotspot/src/share/vm/runtime/os.hpp Wed Mar 09 09:56:10 2016 +0100
@@ -325,7 +325,7 @@
// to make the OS back the memory range with actual memory.
// Current implementation may not touch the last page if unaligned addresses
// are passed.
- static void pretouch_memory(char* start, char* end);
+ static void pretouch_memory(void* start, void* end);
enum ProtType { MEM_PROT_NONE, MEM_PROT_READ, MEM_PROT_RW, MEM_PROT_RWX };
static bool protect_memory(char* addr, size_t bytes, ProtType prot,