8365240: [asan] exclude some tests when using asan enabled binaries

Reviewed-by: lmesnik, sspitsyn
This commit is contained in:
Matthias Baesken 2025-08-12 07:16:57 +00:00
parent 72d3a2a977
commit d78fa5a9f6
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2025, 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
@ -43,6 +43,8 @@
*
* @comment Not run on AIX as it does not support ulimit -v
* @requires os.family != "aix"
* @comment Do not run with asan enabled because asan has issues with ulimit
* @requires !vm.asan
* @run main/native nsk.jvmti.Allocate.alloc001.alloc001
*/

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2025, 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
@ -26,6 +26,8 @@
* @bug 6762191 8222334
* @summary Setting stack size to 16K causes segmentation fault
* @compile TooSmallStackSize.java
* @comment VM fails to launch with minimum allowed stack size of 136k when asan is enabled
* @requires !vm.asan
* @run main TooSmallStackSize
*/