RFR (S) CR 8023638: Add the regression test for 8006997

Daniel D. Daugherty daniel.daugherty at oracle.com
Fri Aug 23 13:14:14 PDT 2013


On 8/23/13 5:24 AM, Aleksey Shipilev wrote:
> Hi,
>
> The latest bug scrub identified one of the issues lacking the regression
> test, where it does make sense to create one.
>
> Background: -XX:ContendedPaddingWidth=# is range-checked on VM side to
> be in [0; 8192], plus being the multiple of 8. The test checks multiple
> values around the failure point.
>
> Here's the webrev:
>    http://cr.openjdk.java.net/~shade/8023638/webrev.00/

hotspot/test/runtime/contended/Options.java
     I count 11 Java process invocations. Will the default timeout
     of 120 seconds be enough for a fastdebug '-server -Xcomp'
     run on something like Solaris SPARC.

     The fragments:

         "must be the between"
         "must be the multiple of 8"

     probably match the real error messages, but those messages
     aren't quite proper English. I expected:

         "must be in between"
         "must be a multiple of 8"


Dan


>
> Testing:
>    - this test is trivial, and excersises the common code path in VM,
> hence only Linux x86_64/release was tested.
>
> Please review!
>
> Thanks,
> -Aleksey.



More information about the hotspot-runtime-dev mailing list