How to diagnose forked jcstress execution problems?

Jerzy Krolak j.krolak at gmail.com
Sat Mar 25 19:22:17 UTC 2017


>
> Thank you, I'll take care of them next week.
>

That's great, thanks!


> I am confused what that patch tries to do. What Locale.US fixes?
>

The grouping character in 'Occurences' column is Unicode in some locales (I
know about pl and fr) - this looks quite bad in Windows console:

[...]
          [OK] my.code.reordering.ReorderingTest
        << not adjusted properly >>
(fork: #1, iteration #1, JVM args: [-XX:+UnlockDiagnosticVMOptions,
-XX:+WhiteBoxAPI, -XX:-R
estrictContended, -Dfile.encoding=windows-1250, -Duser.country=PL,
-Duser.language=pl, -Duser.variant, -XX:TieredStopAtLevel=1])
  Observed state   Occurrences              Expectation  Interpretation
            0, 0         124á236á020     ACCEPTABLE  Object not constructed
yet
[...]

My initial idea was to hardcode eg. US locale, for the sake of readability.
Or maybe to remove the number formatting completely? I can see that these
numbers are not formatted in the HTML report, anyway.

But after a while I thought that it's actually not such a good idea to fix
this inside jcstress. I'll look for a better way and for now let's just
ignore this.

Best regards,
Jerzy


More information about the jcstress-dev mailing list