< prev index next >

src/share/vm/ci/ciMethodData.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 608,625 **** // dump the MDO data as raw data int elements = (data_size() + extra_data_size()) / sizeof(intptr_t); out->print(" data %d", elements); for (int i = 0; i < elements; i++) { ! // We could use INTPTR_FORMAT here but that's a zero justified // which makes comparing it with the SA version of this output ! // harder. ! #ifdef _LP64 ! out->print(" 0x%" FORMAT64_MODIFIER "x", data()[i]); ! #else ! out->print(" 0x%x", data()[i]); ! #endif } // The MDO contained oop references as ciObjects, so scan for those // and emit pairs of offset and klass name so that they can be // reconstructed at runtime. The first round counts the number of --- 608,621 ---- // dump the MDO data as raw data int elements = (data_size() + extra_data_size()) / sizeof(intptr_t); out->print(" data %d", elements); for (int i = 0; i < elements; i++) { ! // We could use INTPTR_FORMAT here but that's zero justified // which makes comparing it with the SA version of this output ! // harder. data()'s element type is intptr_t. ! out->print(" " INTPTRNZ_FORMAT, data()[i]); } // The MDO contained oop references as ciObjects, so scan for those // and emit pairs of offset and klass name so that they can be // reconstructed at runtime. The first round counts the number of
< prev index next >