--- a/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp Wed Sep 19 10:51:06 2018 -0700
+++ b/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp Wed Sep 19 21:31:33 2018 +0200
@@ -192,6 +192,11 @@
virtual Node* resolve(GraphKit* kit, Node* n, DecoratorSet decorators) const { return n; }
+ virtual Node* obj_allocate(PhaseMacroExpand* macro, Node* ctrl, Node* mem, Node* toobig_false, Node* size_in_bytes,
+ Node*& i_o, Node*& needgc_ctrl,
+ Node*& fast_oop_ctrl, Node*& fast_oop_rawmem,
+ intx prefetch_lines) const;
+
// These are general helper methods used by C2
virtual bool array_copy_requires_gc_barriers(BasicType type) const { return false; }