< prev index next >

src/share/vm/opto/macro.hpp

Print this page

        

@@ -64,10 +64,22 @@
   Node* make_load( Node* ctl, Node* mem, Node* base, int offset,
                    const Type* value_type, BasicType bt);
   Node* make_store(Node* ctl, Node* mem, Node* base, int offset,
                    Node* value, BasicType bt);
 
+  // For Heap-related sampling - will generate code to invoke call()
+  // if the given sampling parameters are true.
+  void conditional_sample(Node *should_sample,
+                          BoolTest::mask test,
+                          float probability,
+                          CallLeafNode *call,
+                          Node *thread,
+                          Node **fast_oop_ctrl,
+                          Node **fast_oop_rawmem,
+                          Node **fast_oop,
+                          Node *in_node);
+
   // projections extracted from a call node
   ProjNode *_fallthroughproj;
   ProjNode *_fallthroughcatchproj;
   ProjNode *_ioproj_fallthrough;
   ProjNode *_ioproj_catchall;
< prev index next >