Mercurial > hg > truffle
comparison src/share/vm/services/memRecorder.hpp @ 11198:1e6d5dec4a4e
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 13:20:06 +0200 |
parents | 1f4355cee9a2 |
children | 9758d9f36299 |
comparison
equal
deleted
inserted
replaced
11197:3479ab380552 | 11198:1e6d5dec4a4e |
---|---|
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 } |