These test are for core-libs feature, but we want to test that unused lambda forms are garbage collected using WhiteBox.fullGC() method. There are three tests that use one common class, only one of them uses whitebox api. So it is hard to move one of tests to hotspot repo.
- Konstantin -------- Исходное сообщение -------- От: Alan Bateman <alan.bate...@oracle.com> Дата:06.09.2014 0:38 (GMT+04:00) Кому: Konstantin Shefov <konstantin.she...@oracle.com>,"VLADIMIR.X.IVANOV" <vladimir.x.iva...@oracle.com>,core-libs-dev@openjdk.java.net,mlvm-...@openjdk.java.net Тема: Re: [9] Review request : JDK-8057707: TEST library enhancement: copy sun.hotspot.whitebox classes from hotspot repo and enhance lib/testlibrary/jsr292/com/oracle/testlibrary/jsr292/Helper.java On 05/09/2014 18:57, Konstantin Shefov wrote: > Hello, > > Please review the change in testlibrary > https://bugs.openjdk.java.net/browse/JDK-8057707 > This change is needed for new tests for the feature "Lambda Form > Reduction and Caching" https://bugs.openjdk.java.net/browse/JDK-8046703 > > Webrev of the testlibrary change: > http://cr.openjdk.java.net/~kshefov/8057707/webrev.00/ It seems a bit strange, are you sure this is right thing to do? I would have thought that tests using the hotspot whitebox library would be pushed to the hotspot/test tree. -Alan