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:05:39 +0000 (17:05 -0800)
commit8a7ef10d10ac1509b79d315fe865bd3c4731262b
tree34284a8dffe54a4ac41336418e4d49716e90cf3d
parent5039728b6ce61e70bfca5d35889ecbd4150a5af9
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
Change-Id: Ied9f5942ff9022b1cd39052363f119a630ffbaef
test/130-hprof/src-ex/Allocator.java [new file with mode: 0644]
test/130-hprof/src/Main.java