Mercurial > hg > graal-jvmci-8
comparison src/os/linux/vm/os_linux.cpp @ 22477:c3ad14a83248
Remove unneeded os::get_pc function
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 27 Aug 2015 13:35:19 -0700 |
parents | 7848fc12602b |
children | dd9cc155639c |
comparison
equal
deleted
inserted
replaced
22476:6050079bb7bd | 22477:c3ad14a83248 |
---|---|
5027 assert(thread->is_VM_thread(), "Can only be called for VMThread"); | 5027 assert(thread->is_VM_thread(), "Can only be called for VMThread"); |
5028 | 5028 |
5029 PcFetcher fetcher(thread); | 5029 PcFetcher fetcher(thread); |
5030 fetcher.run(); | 5030 fetcher.run(); |
5031 return fetcher.result(); | 5031 return fetcher.result(); |
5032 } | |
5033 | |
5034 address os::get_pc(void* context) { | |
5035 ucontext_t *uc = (ucontext_t*)context; | |
5036 return os::Linux::ucontext_get_pc(uc); | |
5037 } | 5032 } |
5038 | 5033 |
5039 int os::Linux::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime) | 5034 int os::Linux::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime) |
5040 { | 5035 { |
5041 if (is_NPTL()) { | 5036 if (is_NPTL()) { |