Mercurial > hg > graal-jvmci-8
comparison src/os/solaris/vm/os_solaris.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 |
---|---|
4261 // For now, is only used to profile the VM Thread | 4261 // For now, is only used to profile the VM Thread |
4262 assert(thread->is_VM_thread(), "Can only be called for VMThread"); | 4262 assert(thread->is_VM_thread(), "Can only be called for VMThread"); |
4263 PcFetcher fetcher(thread); | 4263 PcFetcher fetcher(thread); |
4264 fetcher.run(); | 4264 fetcher.run(); |
4265 return fetcher.result(); | 4265 return fetcher.result(); |
4266 } | |
4267 | |
4268 address os::get_pc(void* context) { | |
4269 ucontext_t *uc = (ucontext_t*)context; | |
4270 return os::Solaris::ucontext_get_pc(uc); | |
4271 } | 4266 } |
4272 | 4267 |
4273 // This does not do anything on Solaris. This is basically a hook for being | 4268 // This does not do anything on Solaris. This is basically a hook for being |
4274 // able to use structured exception handling (thread-local exception filters) on, e.g., Win32. | 4269 // able to use structured exception handling (thread-local exception filters) on, e.g., Win32. |
4275 void os::os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* method, JavaCallArguments* args, Thread* thread) { | 4270 void os::os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* method, JavaCallArguments* args, Thread* thread) { |