code: public static Integer toInteger(int value) {
          Integer[] cache = CACHE;
          int index = value & CACHE_MASK;
          Integer v = cache[index];
          if (v == null || v.intValue() != value) {
              v = new Integer(value);
              cache[index] = v;
          }
          return v;
      }
docs: synchronized.