8290899: java/lang/String/StringRepeat.java test requests too much heap on windows x86
Reviewed-by: jpai, phh
This commit is contained in:
parent
5412439445
commit
2bb727c4ea
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2022, 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
|
||||
@ -31,6 +31,7 @@
|
||||
* @test
|
||||
* @summary This exercises String#repeat patterns with 16 * 1024 * 1024 repeats.
|
||||
* @requires os.maxMemory >= 2G
|
||||
* @requires !(os.family == "windows" & sun.arch.data.model == "32")
|
||||
* @run main/othervm -Xmx2g StringRepeat 16777216
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user