75 // Accessors |
75 // Accessors |
76 FreeBlock* link() const { return _link; } |
76 FreeBlock* link() const { return _link; } |
77 void set_link(FreeBlock* link) { _link = link; } |
77 void set_link(FreeBlock* link) { _link = link; } |
78 }; |
78 }; |
79 |
79 |
80 class CodeHeap : public CHeapObj { |
80 class CodeHeap : public CHeapObj<mtCode> { |
81 friend class VMStructs; |
81 friend class VMStructs; |
82 private: |
82 private: |
83 VirtualSpace _memory; // the memory holding the blocks |
83 VirtualSpace _memory; // the memory holding the blocks |
84 VirtualSpace _segmap; // the memory holding the segment map |
84 VirtualSpace _segmap; // the memory holding the segment map |
85 |
85 |