OSDN Git Service

ART: Fix test 036-finalizer
authorMathieu Chartier <mathieuc@google.com>
Sat, 27 Jun 2015 22:42:27 +0000 (15:42 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 30 Jun 2015 17:35:28 +0000 (10:35 -0700)
commitef9849e4adc5e9d9068caf7bb4dc834bb33c976a
tree336ec66c4805f6799f9f87dcfec13e78f97b8c2b
parent3b0667c1d68ba88c71b031757b757dca659afd69
ART: Fix test 036-finalizer

Need to fix bug in test 036 where some allocation sites could cause
GC to run which caused the test to fail due to a weak reference
getting cleared. This change is required for the new GCSTRESS mode.

Bug: 22014525
Change-Id: I8099d2f03bc2f14f4ca6d49133f0d17d8aa49a7b
test/036-finalizer/src/Main.java