# HG changeset patch # User jmasa # Date 1428546190 25200 # Wed Apr 08 19:23:10 2015 -0700 # Node ID f190a231e45c56c4951af5d86ee16462658870f3 # Parent 123c1ff593e667d3eb0540358bfb58bb2ab29c32 [mq]: 8077301 diff --git a/src/share/vm/runtime/thread.cpp b/src/share/vm/runtime/thread.cpp --- a/src/share/vm/runtime/thread.cpp +++ b/src/share/vm/runtime/thread.cpp @@ -4052,7 +4052,7 @@ "Not in range."); } -#ifndef PRODUCT +#ifdef ASSERT void Threads::assert_all_threads_claimed() { ALL_JAVA_THREADS(p) { const int thread_parity = p->oops_do_parity(); @@ -4060,7 +4060,7 @@ err_msg("Thread " PTR_FORMAT " has incorrect parity %d != %d", p2i(p), thread_parity, _thread_claim_parity)); } } -#endif // PRODUCT +#endif // ASSERT void Threads::possibly_parallel_oops_do(bool is_par, OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf) { int cp = Threads::thread_claim_parity();