comparison src/os/linux/vm/os_linux.cpp @ 16719:b1911c1e44c8

Dump disassembly in crash log
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Thu, 07 Aug 2014 11:06:09 -0700
parents 4ca6dc0799b6
children 3eed8712d410
comparison
equal deleted inserted replaced
16718:4703a9442f3f 16719:b1911c1e44c8
5031 assert(thread->is_VM_thread(), "Can only be called for VMThread"); 5031 assert(thread->is_VM_thread(), "Can only be called for VMThread");
5032 5032
5033 PcFetcher fetcher(thread); 5033 PcFetcher fetcher(thread);
5034 fetcher.run(); 5034 fetcher.run();
5035 return fetcher.result(); 5035 return fetcher.result();
5036 }
5037
5038 address os::get_pc(void* context) {
5039 ucontext_t *uc = (ucontext_t*)context;
5040 return os::Linux::ucontext_get_pc(uc);
5036 } 5041 }
5037 5042
5038 int os::Linux::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime) 5043 int os::Linux::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime)
5039 { 5044 {
5040 if (is_NPTL()) { 5045 if (is_NPTL()) {