mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
implement set(); minor tweaks elsewhere
This commit is contained in:
parent
26bfa24c16
commit
86b7a75977
@ -1,6 +1,8 @@
|
|||||||
#ifndef HEAP_H
|
#ifndef HEAP_H
|
||||||
#define HEAP_H
|
#define HEAP_H
|
||||||
|
|
||||||
|
#include "system.h"
|
||||||
|
|
||||||
class Heap {
|
class Heap {
|
||||||
public:
|
public:
|
||||||
enum CollectionType {
|
enum CollectionType {
|
||||||
@ -22,6 +24,7 @@ class Heap {
|
|||||||
|
|
||||||
virtual ~Heap() { }
|
virtual ~Heap() { }
|
||||||
virtual void collect(CollectionType type, Iterator* it) = 0;
|
virtual void collect(CollectionType type, Iterator* it) = 0;
|
||||||
|
virtual void check(void** p, System::Monitor* lock) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif//HEAP_H
|
#endif//HEAP_H
|
||||||
|
496
src/vm.cpp
496
src/vm.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user