Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/unsafe.cpp @ 2044:06f017f7daa7
Merge.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Fri, 07 Jan 2011 18:18:08 +0100 |
parents | f95d63e2154a |
children | 4fc084dac61e |
comparison
equal
deleted
inserted
replaced
1942:00bc9eaf0e24 | 2044:06f017f7daa7 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 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. |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #include "precompiled.hpp" | |
26 #include "classfile/vmSymbols.hpp" | |
27 #include "memory/allocation.inline.hpp" | |
28 #include "prims/jni.h" | |
29 #include "prims/jvm.h" | |
30 #include "runtime/globals.hpp" | |
31 #include "runtime/interfaceSupport.hpp" | |
32 #include "runtime/reflection.hpp" | |
33 #include "runtime/reflectionCompat.hpp" | |
34 #include "runtime/synchronizer.hpp" | |
35 #include "services/threadService.hpp" | |
36 #include "utilities/copy.hpp" | |
37 #include "utilities/dtrace.hpp" | |
38 | |
25 /* | 39 /* |
26 * Implementation of class sun.misc.Unsafe | 40 * Implementation of class sun.misc.Unsafe |
27 */ | 41 */ |
28 | |
29 #include "incls/_precompiled.incl" | |
30 #include "incls/_unsafe.cpp.incl" | |
31 | 42 |
32 HS_DTRACE_PROBE_DECL3(hotspot, thread__park__begin, uintptr_t, int, long long); | 43 HS_DTRACE_PROBE_DECL3(hotspot, thread__park__begin, uintptr_t, int, long long); |
33 HS_DTRACE_PROBE_DECL1(hotspot, thread__park__end, uintptr_t); | 44 HS_DTRACE_PROBE_DECL1(hotspot, thread__park__end, uintptr_t); |
34 HS_DTRACE_PROBE_DECL1(hotspot, thread__unpark, uintptr_t); | 45 HS_DTRACE_PROBE_DECL1(hotspot, thread__unpark, uintptr_t); |
35 | 46 |