OSDN Git Service

Fix buildbot failure for 098-ddmc test
authorMan Cao <manc@google.com>
Thu, 11 Jun 2015 03:02:42 +0000 (20:02 -0700)
committerMan Cao <manc@google.com>
Thu, 11 Jun 2015 03:19:17 +0000 (20:19 -0700)
commitf80ebf2f23f5b8124587ed250f9d95bbeb6612c2
tree2a0284f9a8f871d366bb8ee913e760b4ca1abe75
parente257ee4397e0ca45ff627486ccaeecbf26245c86
Fix buildbot failure for 098-ddmc test

The test only failed on buildbot but not on my local machine. It is
possibly caused by GC reclaiming dead objects and associated allocation
records.

More importantly, the CL 153435 changes the behavior of recent allocation
tracking for DDMS, so that it now reports allocation records of not-yet-
garbaged-collected objects. They are a superset of live objects, but not
a precise set of the most recent allocations.

Bug: 20037135
Change-Id: I200a6c8baaeb98207845049902d59efa2f4ea11e
runtime/debugger.h
test/098-ddmc/src/Main.java