< prev index next >
src/share/vm/utilities/semaphore.cpp
Print this page
*** 28,38 ****
/////////////// Unit tests ///////////////
#ifndef PRODUCT
- #if IMPLEMENTS_SEMAPHORE_CLASS
static void test_semaphore_single_with_max_once(uint max) {
assert(max > 0, "precondition");
Semaphore sem(0, max);
--- 28,37 ----
*** 127,137 ****
test_semaphore_single_multiple();
test_semaphore_many();
}
- #else // IMPLEMENTS_SEMAPHORE_CLASS
- void test_semaphore() {}
- #endif
-
#endif // PRODUCT
--- 126,132 ----
< prev index next >