equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2018, 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. |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
|
26 #include "ci/ciUtilities.hpp" |
26 #include "classfile/javaClasses.hpp" |
27 #include "classfile/javaClasses.hpp" |
27 #include "code/codeCache.hpp" |
28 #include "code/codeCache.hpp" |
28 #include "compiler/disassembler.hpp" |
29 #include "compiler/disassembler.hpp" |
|
30 #include "gc/shared/cardTable.hpp" |
29 #include "gc/shared/cardTableModRefBS.hpp" |
31 #include "gc/shared/cardTableModRefBS.hpp" |
30 #include "gc/shared/collectedHeap.hpp" |
32 #include "gc/shared/collectedHeap.hpp" |
31 #include "memory/resourceArea.hpp" |
33 #include "memory/resourceArea.hpp" |
32 #include "oops/oop.inline.hpp" |
34 #include "oops/oop.inline.hpp" |
33 #include "runtime/handles.inline.hpp" |
35 #include "runtime/handles.inline.hpp" |
316 return; |
318 return; |
317 } |
319 } |
318 |
320 |
319 BarrierSet* bs = Universe::heap()->barrier_set(); |
321 BarrierSet* bs = Universe::heap()->barrier_set(); |
320 if (bs->is_a(BarrierSet::CardTableModRef) && |
322 if (bs->is_a(BarrierSet::CardTableModRef) && |
321 adr == (address)(barrier_set_cast<CardTableModRefBS>(bs)->byte_map_base)) { |
323 adr == ci_card_table_address_as<address>()) { |
322 st->print("word_map_base"); |
324 st->print("word_map_base"); |
323 if (WizardMode) st->print(" " INTPTR_FORMAT, p2i(adr)); |
325 if (WizardMode) st->print(" " INTPTR_FORMAT, p2i(adr)); |
324 return; |
326 return; |
325 } |
327 } |
326 } |
328 } |