JavaThreadIteratorWithHandle iterator should be cleaned up

XMLWordPrintable


      Currently code has the pattern:

      ./runtime/os.cpp: for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {

      This has an implicit null check for the JavaThread pointer, which violates the coding style. These should be rewritten to not have an implicit null check.

      There are 39 of these in the code.

            Assignee:
            Unassigned
            Reporter:
            Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: