Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp Thu Aug 07 11:05:12 2014 -0700 +++ b/src/os/linux/vm/os_linux.cpp Thu Aug 07 11:06:09 2014 -0700 @@ -5035,6 +5035,11 @@ return fetcher.result(); } +address os::get_pc(void* context) { + ucontext_t *uc = (ucontext_t*)context; + return os::Linux::ucontext_get_pc(uc); +} + int os::Linux::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime) { if (is_NPTL()) {