It's also very expensive.
# language-proposals
c
It's also very expensive.
1
h
AFAIK the stack-walking API introduced in Java 9 was aimed to make this operation less expensive if you don't need the whole stack trace.
c
While that may be true, it will be years until Android supports it.