src/share/vm/classfile/classLoader.cpp

changeset 1999
2a47bd84841f
parent 1907
c18cbe5936b8
child 2138
d5d065957597
equal deleted inserted replaced
1990:a693e51ac197 1999:2a47bd84841f
1 /* 1 /*
2 * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2010, 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.
830 return result(); 830 return result();
831 } 831 }
832 832
833 833
834 instanceKlassHandle ClassLoader::load_classfile(symbolHandle h_name, TRAPS) { 834 instanceKlassHandle ClassLoader::load_classfile(symbolHandle h_name, TRAPS) {
835 VTuneClassLoadMarker clm;
836 ResourceMark rm(THREAD); 835 ResourceMark rm(THREAD);
837 EventMark m("loading class " INTPTR_FORMAT, (address)h_name()); 836 EventMark m("loading class " INTPTR_FORMAT, (address)h_name());
838 ThreadProfilerMark tpm(ThreadProfilerMark::classLoaderRegion); 837 ThreadProfilerMark tpm(ThreadProfilerMark::classLoaderRegion);
839 838
840 stringStream st; 839 stringStream st;

mercurial