8228359: [TESTBUG] jdk.jfr.e.g.c.TestGCHeapConfigurationEventWith32BitOops.java does not expect MinHeapSize to be aligned to HeapAlignment

Reviewed-by: mseledtsov, clanger
This commit is contained in:
Richard Reingruber 2019-08-08 07:07:06 +01:00
parent 976a5c6166
commit 3699e4d834

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -53,7 +53,7 @@ class ThirtyTwoBitsVerifier extends GCHeapConfigurationEventVerifier {
WhiteBox wb = WhiteBox.getWhiteBox();
long heapAlignment = wb.getHeapAlignment();
long alignedHeapSize = GCHelper.alignUp(megabytes(100), heapAlignment);
verifyMinHeapSizeIs(megabytes(100));
verifyMinHeapSizeIs(alignedHeapSize);
verifyInitialHeapSizeIs(alignedHeapSize);
verifyMaxHeapSizeIs(alignedHeapSize);
verifyUsesCompressedOopsIs(true);