hotspot/src/share/vm/memory/universe.cpp
changeset 46618 d503911aa948
parent 46560 388aa8d67c80
child 46619 a3919f5e8d2b
equal deleted inserted replaced
46617:0330c5fc49ce 46618:d503911aa948
   550 
   550 
   551 }
   551 }
   552 
   552 
   553 
   553 
   554 bool Universe::on_page_boundary(void* addr) {
   554 bool Universe::on_page_boundary(void* addr) {
   555   return ((uintptr_t) addr) % os::vm_page_size() == 0;
   555   return is_ptr_aligned(addr, os::vm_page_size());
   556 }
   556 }
   557 
   557 
   558 
   558 
   559 bool Universe::should_fill_in_stack_trace(Handle throwable) {
   559 bool Universe::should_fill_in_stack_trace(Handle throwable) {
   560   // never attempt to fill in the stack trace of preallocated errors that do not have
   560   // never attempt to fill in the stack trace of preallocated errors that do not have