OSDN Git Service

ART: Fix string reporting
authorAndreas Gampe <agampe@google.com>
Tue, 28 Feb 2017 03:59:40 +0000 (19:59 -0800)
committerAndreas Gampe <agampe@google.com>
Tue, 28 Feb 2017 03:59:40 +0000 (19:59 -0800)
commit5f942039b83ec9a54aaa0d6badec4d26a921027b
tree546dd1f2a9fa9f1923c5dd1e622f00f8ec44555a
parent86a185601ae4067742a2236ff2bb494ae69915c2
ART: Fix string reporting

Correctly report zero-length strings.

Bug: 31385354
Test: m test-art-host-run-test-906-iterate-heap
Test: m test-art-host-run-test-913-heaps
Change-Id: Ic37d5c4b350cc8d04faebec54494ed6fe19eece8
runtime/openjdkjvmti/ti_heap.cc
test/913-heaps/expected.txt
test/913-heaps/src/Main.java