OpenJDK / jdk / jdk
changeset 55943:36a842b472e8
8228359: [TESTBUG] jdk.jfr.e.g.c.TestGCHeapConfigurationEventWith32BitOops.java does not expect MinHeapSize to be aligned to HeapAlignment
Reviewed-by: mseledtsov, clanger
author | rrich |
---|---|
date | Thu, 08 Aug 2019 07:07:06 +0100 |
parents | 8f3fcb9251d1 |
children | 7faf0261e0a2 |
files | test/jdk/jdk/jfr/event/gc/configuration/TestGCHeapConfigurationEventWith32BitOops.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/jdk/jdk/jfr/event/gc/configuration/TestGCHeapConfigurationEventWith32BitOops.java Thu Aug 08 07:05:17 2019 +0200 +++ b/test/jdk/jdk/jfr/event/gc/configuration/TestGCHeapConfigurationEventWith32BitOops.java Thu Aug 08 07:07:06 2019 +0100 @@ -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 @@ 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);