Re-enable LocalRandom clinit after monitor pinning improvements

XMLWordPrintable

      In our test library, there is a TODO item:

       public class LocalRandom {
           static {
              // ensure seed got printed out
              // TODO re-enalbe when monitor doesn't require to pin thread
              // Utils.getRandomInstance();
           }

      That TODO comes from the original Loom integration:
       8284161: Implementation of Virtual Threads (Preview)

      As we did JDK-8337395, this does not look relevant anymore.

      Enabling this one would start printing random seeds, which is useful for test debugging.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: