src/share/vm/services/memRecorder.hpp

changeset 5272
1f4355cee9a2
parent 4512
4102b59539ce
child 5614
9758d9f36299
equal deleted inserted replaced
5270:cd2118b62475 5272:1f4355cee9a2
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 }

mercurial