RFR 8145127: VM warning: WaitForMultipleObjects timed out (0) ...

Ivan Gerasimov ivan.gerasimov at oracle.com
Tue Dec 15 12:18:57 UTC 2015


>
> while(true) would convey that much more clearly - and perhaps obviate 
> the need for pr_ex.
>

Yes, I can surely transform the code

-      while (pr_ex != curr_id) {
+      if (pr_ex != curr_id) {
+          while (true} {

The intention was to save a line :-)

I'll use while (true), if it improves readability.

Sincerely yours,
Ivan


More information about the serviceability-dev mailing list