Mercurial > hg > truffle
comparison src/os/bsd/vm/os_bsd.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 |
---|---|
3801 assert(thread->is_VM_thread(), "Can only be called for VMThread"); | 3801 assert(thread->is_VM_thread(), "Can only be called for VMThread"); |
3802 | 3802 |
3803 PcFetcher fetcher(thread); | 3803 PcFetcher fetcher(thread); |
3804 fetcher.run(); | 3804 fetcher.run(); |
3805 return fetcher.result(); | 3805 return fetcher.result(); |
3806 } | |
3807 | |
3808 address os::get_pc(void* context) { | |
3809 ucontext_t *uc = (ucontext_t*)context; | |
3810 return os::Bsd::ucontext_get_pc(uc); | |
3806 } | 3811 } |
3807 | 3812 |
3808 int os::Bsd::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime) | 3813 int os::Bsd::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime) |
3809 { | 3814 { |
3810 return pthread_cond_timedwait(_cond, _mutex, _abstime); | 3815 return pthread_cond_timedwait(_cond, _mutex, _abstime); |