code: public static Random getRandom()
    {
      if (_isTest) {
        return _testRandom;
      }
  
      Random random = _freeRandomList.allocate();
  
      if (random == null) {
        random = new SecureRandom();
      }
  
      return random;
    }
docs: Returns the random generator.