hotspot/src/share/vm/services/memRecorder.hpp
changeset 18086 f44cf213a775
parent 15452 3bfde2dea09d
child 19696 bd5a0131bde1
equal deleted inserted replaced
18084:c2e807acd8c5 18086:f44cf213a775
     1 /*
     1 /*
     2  * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   218  protected:
   218  protected:
   219   _NOINLINE_ MemRecorder();
   219   _NOINLINE_ MemRecorder();
   220   ~MemRecorder();
   220   ~MemRecorder();
   221 
   221 
   222   // record a memory operation
   222   // record a memory operation
   223   bool record(address addr, MEMFLAGS flags, size_t size, address caller_pc = 0);
   223   bool record(address addr, MEMFLAGS flags, size_t size, jint seq, address caller_pc = 0);
   224 
   224 
   225   // linked list support
   225   // linked list support
   226   inline void set_next(MemRecorder* rec) {
   226   inline void set_next(MemRecorder* rec) {
   227     _next = rec;
   227     _next = rec;
   228   }
   228   }