equal
deleted
inserted
replaced
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 |