hotspot/src/share/vm/c1/c1_CFGPrinter.cpp
changeset 13195 be27e1b6a4b9
parent 7397 5b173b4ca846
child 13963 e5b53c306fb5
equal deleted inserted replaced
13099:64752e56d721 13195:be27e1b6a4b9
    31 #include "c1/c1_ValueStack.hpp"
    31 #include "c1/c1_ValueStack.hpp"
    32 
    32 
    33 #ifndef PRODUCT
    33 #ifndef PRODUCT
    34 
    34 
    35 
    35 
    36 class CFGPrinterOutput : public CHeapObj {
    36 class CFGPrinterOutput : public CHeapObj<mtCompiler> {
    37  private:
    37  private:
    38   outputStream* _output;
    38   outputStream* _output;
    39 
    39 
    40   Compilation*  _compilation;
    40   Compilation*  _compilation;
    41   bool _do_print_HIR;
    41   bool _do_print_HIR;
   104 }
   104 }
   105 
   105 
   106 
   106 
   107 
   107 
   108 CFGPrinterOutput::CFGPrinterOutput()
   108 CFGPrinterOutput::CFGPrinterOutput()
   109  : _output(new(ResourceObj::C_HEAP) fileStream("output.cfg"))
   109  : _output(new(ResourceObj::C_HEAP, mtCompiler) fileStream("output.cfg"))
   110 {
   110 {
   111 }
   111 }
   112 
   112 
   113 
   113 
   114 
   114