OSDN Git Service

Add regression test for alloc stack trace and unloading
authorMathieu Chartier <mathieuc@google.com>
Tue, 23 Feb 2016 00:56:54 +0000 (16:56 -0800)
committerMathieu Chartier <mathieuc@google.com>
Tue, 23 Feb 2016 01:22:24 +0000 (17:22 -0800)
commitdcfb3824562a5d75c8080686211584b1b40002b5
tree46d14706ece5fc76e95d15f154ed5e4fda3c05c8
parentac5fb70796f7fbf210e664992b052c05438939eb
Add regression test for alloc stack trace and unloading

Test creates allocations in a different loader, then unloads it.
This would free the ArtMethod except that we now visit them as
roots.

Bug: 26849503

(cherry picked from commit 8a7ef10d10ac1509b79d315fe865bd3c4731262b)

Change-Id: If63e26b49380e7b99244ee25e70e729a1736344a
test/130-hprof/src-ex/Allocator.java [new file with mode: 0644]
test/130-hprof/src/Main.java