RFR: typo causes write barrier to be used where a read barrier is sufficient
Roland Westrelin
rwestrel at redhat.com
Thu Jun 14 11:49:11 UTC 2018
diff --git a/src/hotspot/share/opto/parse2.cpp b/src/hotspot/share/opto/parse2.cpp
--- a/src/hotspot/share/opto/parse2.cpp
+++ b/src/hotspot/share/opto/parse2.cpp
@@ -211,7 +211,7 @@
if (is_store) {
ary = access_resolve_for_write(ary);
} else {
- ary = access_resolve_for_write(ary);
+ ary = access_resolve_for_read(ary);
}
// Make array address computation control dependent to prevent it
More information about the shenandoah-dev
mailing list