< prev index next >

src/hotspot/share/gc/shared/gcVMOperations.hpp

Print this page
@@ -244,10 +244,20 @@
    virtual VMOp_Type type() const { return VMOp_CollectForMetadataAllocation; }
    virtual void doit();
    MetaWord* result() const       { return _result; }
  };
  
+ class VM_CollectForCodeCacheAllocation: public VM_GC_Operation {
+ public:
+   VM_CollectForCodeCacheAllocation(uint gc_count_before,
+                                    uint full_gc_count_before,
+                                    GCCause::Cause gc_cause);
+ 
+   virtual VMOp_Type type() const { return VMOp_CollectForCodeCacheAllocation; }
+   virtual void doit();
+ };
+ 
  class SvcGCMarker : public StackObj {
   private:
    JvmtiGCMarker _jgcm;
   public:
    typedef enum { MINOR, FULL, CONCURRENT } reason_type;
< prev index next >