--- a/hotspot/src/share/vm/gc/shared/barrierSet.hpp Fri Aug 28 11:10:57 2015 +0200
+++ b/hotspot/src/share/vm/gc/shared/barrierSet.hpp Tue Aug 18 17:48:35 2015 -0400
@@ -132,6 +132,9 @@
// First the pre-write versions...
template <class T> inline void write_ref_field_pre(T* field, oop new_val);
private:
+ // Helper for write_ref_field_pre and friends, testing for specialized cases.
+ bool devirtualize_reference_writes() const;
+
// Keep this private so as to catch violations at build time.
virtual void write_ref_field_pre_work( void* field, oop new_val) { guarantee(false, "Not needed"); };
protected: