OSDN Git Service

ART: Switch tagging table to a map
authorAndreas Gampe <agampe@google.com>
Fri, 21 Oct 2016 02:03:58 +0000 (19:03 -0700)
committerAndreas Gampe <agampe@google.com>
Fri, 21 Oct 2016 22:32:07 +0000 (15:32 -0700)
commite54eee1024cdad6def14cde7e858e85cc0fdc465
treebcef520fb0e78747d202477a243d5566533c0996
parent77cd3d861fcf723ba0a37833c223eeb08cfd7d8c
ART: Switch tagging table to a map

Performance is critical. A map involves overhead for moving GC,
but has much faster lookup for the common case.

Make test 905 robust against unstable ordering.

Bug: 31385027
Test: m test-art-host
Test: m ART_USE_READ_BARRIER=true test-art-host
Change-Id: Ica3ff603fc78168759fccfe79c97860279ce9036
runtime/openjdkjvmti/OpenjdkJvmTi.cc
runtime/openjdkjvmti/object_tagging.cc
runtime/openjdkjvmti/object_tagging.h
test/905-object-free/expected.txt
test/905-object-free/src/Main.java
test/905-object-free/tracking_free.cc