code: public static void setUseUnsafe(boolean state)
      {
          useUnsafe = state;
          if (state)
          {
              try
              {
                  unsafe = new Unsafe();
              }
              catch (InvocationTargetException e)
              {
                  useUnsafe = false;
              }
          }
      }
docs: Globally turn on (or off) the 'unsafe' option of Class construction.  The unsafe option
  is used when all constructors have been tried and the Java class could not be instantiated.
  @param state boolean true = on, false = off.