Mercurial > hg > graal-compiler
diff src/share/vm/runtime/gpu.hpp @ 15206:de9ead115e26
Gpu needs to extend one of the allocation classes
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 17 Apr 2014 19:29:03 +0200 |
parents | 66e3af78ea96 |
children |
line wrap: on
line diff
--- a/src/share/vm/runtime/gpu.hpp Thu Apr 17 17:21:55 2014 +0200 +++ b/src/share/vm/runtime/gpu.hpp Thu Apr 17 19:29:03 2014 +0200 @@ -32,7 +32,7 @@ #define MAX_GPUS 2 // Defines the interface to the graphics processor(s). -class Gpu { +class Gpu : public CHeapObj<mtInternal> { private: static int _initialized_gpus_count; static Gpu* _initialized_gpus[MAX_GPUS];