Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/classLoader.cpp @ 1644:2a47bd84841f
6965184: possible races in make_not_entrant_or_zombie
Reviewed-by: kvn
author | never |
---|---|
date | Thu, 08 Jul 2010 14:29:44 -0700 |
parents | c18cbe5936b8 |
children | d5d065957597 |
comparison
equal
deleted
inserted
replaced
1635:a693e51ac197 | 1644: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; |