From 848f70a3d73833fc1bf3032a9ff6812e429661d9 Mon Sep 17 00:00:00 2001 From: Jeff Hao Date: Wed, 15 Jan 2014 13:49:50 -0800 Subject: Replace String CharArray with internal uint16_t array. Summary of high level changes: - Adds compiler inliner support to identify string init methods - Adds compiler support (quick & optimizing) with new invoke code path that calls method off the thread pointer - Adds thread entrypoints for all string init methods - Adds map to verifier to log when receiver of string init has been copied to other registers. used by compiler and interpreter Change-Id: I797b992a8feb566f9ad73060011ab6f51eb7ce01 --- runtime/debugger.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/debugger.cc') diff --git a/runtime/debugger.cc b/runtime/debugger.cc index f3ce552230..3fb7b200ae 100644 --- a/runtime/debugger.cc +++ b/runtime/debugger.cc @@ -4078,7 +4078,7 @@ void Dbg::DdmSendThreadNotification(Thread* t, uint32_t type) { StackHandleScope<1> hs(soa.Self()); Handle name(hs.NewHandle(t->GetThreadName(soa))); size_t char_count = (name.Get() != nullptr) ? name->GetLength() : 0; - const jchar* chars = (name.Get() != nullptr) ? name->GetCharArray()->GetData() : nullptr; + const jchar* chars = (name.Get() != nullptr) ? name->GetValue() : nullptr; std::vector bytes; JDWP::Append4BE(bytes, t->GetThreadId()); -- cgit v1.2.3