summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2018-06-07 14:11:15 +0100
committerPaul Duffin <paulduffin@google.com>2018-06-07 17:16:06 +0100
commit40120088de64b1610da646e5ff5304d1e620a3b7 (patch)
treee5c9ecd6d2861eca1e082fdeebad3325d831fd85 /include/ScopedJavaUnicodeString.h
parent5bf48cb062885f1ecc6c1699e0b57aaabed8df66 (diff)
Add and use Throwable.UNASSIGNED_STACK from upstream 8u121-b13
Replaces use of EmptyArray.STACK_TRACE_ELEMENT with Throwable.UNSASSIGNED_STACK to match upstream. Makes it package private as it is used by java.lang.Daemons. This has no externally visible functional changes. The readObject() change to store a clone of UNASSIGNED_STACK in stackTrace is a change from upstream. It replaces an empty array created during deserialization with another empty array which will cause the first to be garbage collected. That should not have any significant performance or memory impact. Bug: 35910877 Test: make checkbuild and run CtsLibcoreTestCases Change-Id: I9133b36f6f952f13705ee480f93fee6c17034f31
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions