equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2014, 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. |
112 |
112 |
113 oop obj = oopDesc::load_decode_heap_oop(p); |
113 oop obj = oopDesc::load_decode_heap_oop(p); |
114 if (_cm->verbose_high()) { |
114 if (_cm->verbose_high()) { |
115 gclog_or_tty->print_cr("[%u] we're looking at location " |
115 gclog_or_tty->print_cr("[%u] we're looking at location " |
116 "*"PTR_FORMAT" = "PTR_FORMAT, |
116 "*"PTR_FORMAT" = "PTR_FORMAT, |
117 _task->worker_id(), p, (void*) obj); |
117 _task->worker_id(), p2i(p), p2i((void*) obj)); |
118 } |
118 } |
119 _task->deal_with_reference(obj); |
119 _task->deal_with_reference(obj); |
120 } |
120 } |
121 |
121 |
122 template <class T> |
122 template <class T> |