Skip to content
Permalink
Browse files
8267371: Concurrent gtests take too long
Reviewed-by: shade, gziemski
  • Loading branch information
tstuefe committed May 19, 2021
1 parent 38d690b commit 9820f3d480aa2e6813596710348b2057a8c2a572
Showing with 7 additions and 5 deletions.
  1. +2 −2 test/hotspot/gtest/memory/test_virtualspace.cpp
  2. +5 −3 test/hotspot/gtest/runtime/test_os_linux.cpp
@@ -664,7 +664,7 @@ class ReservedSpaceRunnable : public TestRunnable {

TEST_VM(VirtualSpace, os_reserve_space_concurrent) {
ReservedSpaceRunnable runnable;
ConcurrentTestRunner testRunner(&runnable, 30, 15000);
ConcurrentTestRunner testRunner(&runnable, 5, 3000);
testRunner.run();
}

@@ -677,6 +677,6 @@ class VirtualSpaceRunnable : public TestRunnable {

TEST_VM(VirtualSpace, os_virtual_space_concurrent) {
VirtualSpaceRunnable runnable;
ConcurrentTestRunner testRunner(&runnable, 30, 15000);
ConcurrentTestRunner testRunner(&runnable, 5, 3000);
testRunner.run();
}
@@ -415,9 +415,11 @@ class ReserveMemorySpecialRunnable : public TestRunnable {
};

TEST_VM(os_linux, reserve_memory_special_concurrent) {
ReserveMemorySpecialRunnable runnable;
ConcurrentTestRunner testRunner(&runnable, 30, 15000);
testRunner.run();
if (UseLargePages) {
ReserveMemorySpecialRunnable runnable;
ConcurrentTestRunner testRunner(&runnable, 5, 3000);
testRunner.run();
}
}

#endif

0 comments on commit 9820f3d

Please sign in to comment.