src/share/vm/runtime/os.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/runtime/os.hpp Wed Jan 15 01:42:41 2014
--- new/src/share/vm/runtime/os.hpp Wed Jan 15 01:42:41 2014
*** 393,403 ****
--- 393,403 ----
// Previously this function calculated the exact address of this
// thread's serialize page, and checked if the faulting address
// was equal. However, some platforms mask off faulting addresses
// to the page size, so now we just check that the address is
// within the page. This makes the thread argument unnecessary,
! // but we retain the NULL check to preserve existing behaviour.
! // but we retain the NULL check to preserve existing behavior.
if (thread == NULL) return false;
address page = (address) _mem_serialize_page;
return addr >= page && addr < (page + os::vm_page_size());
}
*** 538,548 ****
--- 538,548 ----
// Find out whether the pc is in the static code for jvm.dll/libjvm.so.
static bool address_is_in_vm(address addr);
// Loads .dll/.so and
// in case of error it checks if .dll/.so was built for the
! // same architecture as Hotspot is running on
! // same architecture as HotSpot is running on
static void* dll_load(const char *name, char *ebuf, int ebuflen);
// lookup symbol in a shared library
static void* dll_lookup(void* handle, const char* name);
src/share/vm/runtime/os.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File