测试

if (concurrencyLevel > MAX_SEGMENTS) concurrencyLevel = MAX_SEGMENTS; // Find power-of-two sizes best matching arguments int sshift = 0; int ssize = 1; while (ssize < concurrencyLevel) { ++sshift; ssize <<= 1; } segmentShift = 32 - sshift; segmentMask = ssize - 1; this.segments = Segment.newArray(ssize);

  • A+
所属分类:

发表评论

目前评论:7

  • avatar sd

    f

  • avatar 111

    111111

  • avatar wxkayle

    test

  • avatar admin

    test

    • avatar admin

      @admintest回复评论

      • avatar dasdasdas

        @admindasdasdasd

        • avatar 渴望进步的小白

          @dasdasdas山豆根地方