RFR: 8283892: Compress and expand bits [v2]

Paul Sandoz psandoz at openjdk.java.net
Wed Apr 6 22:19:39 UTC 2022


On Wed, 6 Apr 2022 17:43:34 GMT, John R Rose <jrose at openjdk.org> wrote:

>> Paul Sandoz has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Doc and test updates.
>
> test/jdk/java/lang/AbstractCompressExpandTest.java line 104:
> 
>> 102:     abstract long expectedExpand(long i, long mask);
>> 103: 
>> 104:     static int SIZE = 1024;
> 
> It feels like `SIZE` should be a constructor parameter, to make it easier to run ad hoc stress tests.

That's tricky because the test is TestNG based, launched via jtreg, it would need to be a system property.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8115


More information about the core-libs-dev mailing list