RFR(XXS) : 8177709 : Convert TestVirtualSpace_test to GTest
thomas.stuefe at gmail.com
Wed Oct 17 18:16:55 UTC 2018
Won't we leak the reserved space now when we run into an ASSERT and
then continue with the next gtests?
On Wed, Oct 17, 2018 at 7:55 PM Igor Ignatyev <igor.ignatyev at oracle.com> wrote:
> > 141 lines changed: 140 ins; 1 del; 0 mod;
> Hi all,
> could you please review this small (and hopefully trivial) patch which converts internal TestVirtualSpace_test to gtest?
> again, the old test is still used by WhiteBox::runMemoryUnitTests, the old code hasn't been removed. it will be removed later when all 4 tests used by runMemoryUnitTests are converted.
> for the sake of reviewer, http://hg.openjdk.java.net/jdk/jdk/file/2e928420389d/src/hotspot/share/memory/virtualspace.cpp#l1261 is the old version.
> webrev: http://cr.openjdk.java.net/~iignatyev//8177709/webrev.00/index.html
> JBS: https://bugs.openjdk.java.net/browse/JDK-8177709
> - converted tests on linux-x64, windows-x64, macosx-x64, solaris-sparcv9 in product and fastdebug variants
> - build w/ precompiled-headers enabled and disabled
> -- Igor
More information about the hotspot-gc-dev