8150778: Reduce Throwable.getStackTrace() calls to the JVM

Replace JVM_GetStackTraceDepth and JVM_GetStackTraceElement, with JVM_GetStackTraceElements that gets all the elements in the StackTraceElement[]

Reviewed-by: shade, mchung, dholmes, hseigel
This commit is contained in:
Coleen Phillimore 2016-03-10 13:43:47 -05:00
parent fc407c943e
commit 4a05d83db0
9 changed files with 312 additions and 163 deletions

View file

@ -376,6 +376,7 @@
template(fillInStackTrace_name, "fillInStackTrace") \
template(getCause_name, "getCause") \
template(initCause_name, "initCause") \
template(depth_name, "depth") \
template(setProperty_name, "setProperty") \
template(getProperty_name, "getProperty") \
template(context_name, "context") \