8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/systemDictionary.hpp"
27 #include "memory/allocation.hpp"
28 #include "memory/universe.hpp"
29 #include "oops/oop.inline.hpp"
30 #include "runtime/mutexLocker.hpp"
31 #include "services/classLoadingService.hpp"
32 #include "services/memoryService.hpp"
33 #include "utilities/dtrace.hpp"
34 #include "utilities/macros.hpp"
35 #include "utilities/defaultStream.hpp"
36 #include "logging/log.hpp"
37 #include "logging/logConfiguration.hpp"
38
39 #ifdef DTRACE_ENABLED
40
41 // Only bother with this argument setup if dtrace is available
42
43 #define HOTSPOT_CLASS_unloaded HOTSPOT_CLASS_UNLOADED
44 #define HOTSPOT_CLASS_loaded HOTSPOT_CLASS_LOADED
45 #define DTRACE_CLASSLOAD_PROBE(type, clss, shared) \
46 { \
47 char* data = NULL; \
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/systemDictionary.hpp"
27 #include "memory/allocation.hpp"
28 #include "memory/resourceArea.hpp"
29 #include "memory/universe.hpp"
30 #include "oops/oop.inline.hpp"
31 #include "runtime/mutexLocker.hpp"
32 #include "services/classLoadingService.hpp"
33 #include "services/memoryService.hpp"
34 #include "utilities/dtrace.hpp"
35 #include "utilities/macros.hpp"
36 #include "utilities/defaultStream.hpp"
37 #include "logging/log.hpp"
38 #include "logging/logConfiguration.hpp"
39
40 #ifdef DTRACE_ENABLED
41
42 // Only bother with this argument setup if dtrace is available
43
44 #define HOTSPOT_CLASS_unloaded HOTSPOT_CLASS_UNLOADED
45 #define HOTSPOT_CLASS_loaded HOTSPOT_CLASS_LOADED
46 #define DTRACE_CLASSLOAD_PROBE(type, clss, shared) \
47 { \
48 char* data = NULL; \
|