equal
deleted
inserted
replaced
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 } |