hotspot/test/runtime/CompressedOops/ObjectAlignment.java
changeset 31995 aa4049b4184a
parent 31371 311143309e73
child 36851 03e2f4d0a421
equal deleted inserted replaced
31994:3721b7aa3a0d 31995:aa4049b4184a
    46             testObjectAlignment(9)
    46             testObjectAlignment(9)
    47                 .shouldContain("must be power of 2")
    47                 .shouldContain("must be power of 2")
    48                 .shouldHaveExitValue(1);
    48                 .shouldHaveExitValue(1);
    49 
    49 
    50             testObjectAlignment(-1)
    50             testObjectAlignment(-1)
    51                 .shouldContain("must be power of 2")
       
    52                 .shouldContain("outside the allowed range")
    51                 .shouldContain("outside the allowed range")
    53                 .shouldHaveExitValue(1);
    52                 .shouldHaveExitValue(1);
    54 
    53 
    55             // Maximum alignment allowed is 256
    54             // Maximum alignment allowed is 256
    56             testObjectAlignment(512)
    55             testObjectAlignment(512)