[9] RFR(S): 8144212: JDK 9 b93 breaks Apache Lucene due to compact strings

Andrew Haley aph at redhat.com
Wed Jan 6 12:07:26 UTC 2016

On 06/01/16 12:01, Tobias Hartmann wrote:

> An Apache Lucene test fails with Compact Strings enabled because the
> result of String.getChars() is invalid. The problem is a missing
> membar after the _inflateString intrinsic, allowing a subsequent
> load from the destination array to flow above and return a wrong
> result (see [1]: 210 LoadUS should read the result of 196
> StrInflatedCopy).
> Tested with JPRT and failing Apache Lucene test.

Is a MemBarCPUOrder sufficient for machines with relaxed memory


More information about the hotspot-compiler-dev mailing list