From d8ce7f36e2bf07ee04e962fa66368f2777becfb6 Mon Sep 17 00:00:00 2001
From: Coleen Phillimore <coleenp@openjdk.org>
Date: Tue, 14 Aug 2018 19:52:34 -0400
Subject: [PATCH] 8209518: symbol table gtest fails with semaphore error

Loop count was wrong.

Reviewed-by: mikael, kbarrett
---
 test/hotspot/gtest/classfile/test_symbolTable.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/hotspot/gtest/classfile/test_symbolTable.cpp b/test/hotspot/gtest/classfile/test_symbolTable.cpp
index b2f66b9c003..f569c4b5caa 100644
--- a/test/hotspot/gtest/classfile/test_symbolTable.cpp
+++ b/test/hotspot/gtest/classfile/test_symbolTable.cpp
@@ -139,7 +139,7 @@ public:
       st[i]->doit();
     }
 
-    for (int i = 0; i < 4; i++) {
+    for (int i = 0; i < SYM_TEST_THREAD_COUNT; i++) {
       done.wait();
     }
   }