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