mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd Reviewed-by: acorn, coleenp, fparain
This commit is contained in:
parent
8e42425c92
commit
a39b17624a
315 changed files with 7245 additions and 1477 deletions
|
@ -101,7 +101,7 @@ class Stub VALUE_OBJ_CLASS_SPEC {
|
|||
// of the concrete stub (see also macro below). There's exactly
|
||||
// one stub interface instance required per stub queue.
|
||||
|
||||
class StubInterface: public CHeapObj {
|
||||
class StubInterface: public CHeapObj<mtCode> {
|
||||
public:
|
||||
// Initialization/finalization
|
||||
virtual void initialize(Stub* self, int size) = 0; // called after creation (called twice if allocated via (request, commit))
|
||||
|
@ -152,7 +152,7 @@ class StubInterface: public CHeapObj {
|
|||
// A StubQueue maintains a queue of stubs.
|
||||
// Note: All sizes (spaces) are given in bytes.
|
||||
|
||||
class StubQueue: public CHeapObj {
|
||||
class StubQueue: public CHeapObj<mtCode> {
|
||||
friend class VMStructs;
|
||||
private:
|
||||
StubInterface* _stub_interface; // the interface prototype
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue