Dean Long
45204fc0bf
Merge
2016-09-08 23:43:45 -04:00
Harold Seigel
e8e6415b7a
8058575: IllegalAccessError trying to access package-private class from VM anonymous class
...
Put anonymous classes in unnamed package into host class's package. Throw exception if host class's package differs from anonymous class.
Reviewed-by: coleenp, acorn
2016-09-07 07:19:48 -04:00
Martin Doerr
02654e7d3d
8165018: Missing memory barrier for PPC64 in Unsafe_GetObjectVolatile
...
Reviewed-by: kbarrett, dholmes
2016-09-05 20:40:08 -04:00
Zoltan Majo
00c9b389f6
8161720: Better byte behavior for off-heap data
...
Normalize boolean values read with Unsafe.
Reviewed-by: aph, simonis, jrose, psandoz
2016-08-30 09:30:16 +02:00
Erik Gahlin
c98e599afa
8164523: Clean up metadata for event based tracing
...
Reviewed-by: mlarsson, mgronlun
2016-08-23 19:21:48 +02:00
David Holmes
5f1f4489ac
8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
...
Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Harold Seigel
2a74c06b8d
8030221: Checking for anonymous class should check for NULL as well as potential nesting
...
Store the first non-anonymous class as the host when defining the anonymous class so don't need look for it later.
Reviewed-by: dholmes, lfoltan
2016-08-16 09:56:18 -04:00
Doug Simon
39e5b15fdd
8156587: [JVMCI] remove Unsafe.getJavaMirror and Unsafe.getKlassPointer
...
Reviewed-by: kvn
2016-06-06 16:31:03 -07:00
Mikael Vidstedt
fd9f92e18d
8150921: Update Unsafe getters/setters to use double-register variants
...
Reviewed-by: dholmes, shade, psandoz, jrose
2016-05-06 15:59:26 -07:00
Alejandro Murillo
f9426642c6
Merge
2016-04-22 01:04:00 -07:00
Per Liden
48892f6f68
8152949: Jigsaw crash when Klass in _fixup_module_field_list is unloaded
...
During start up anonymous classes must be kept alive until after their mirror's module field is patched with java.base
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, hseigel
2016-04-21 09:23:04 -04:00
Daniel D. Daugherty
4397e85e26
Merge
2016-04-07 09:47:48 -07:00
Joseph Provino
5cef85023b
8132524: Missing includes to resourceArea.hpp
...
Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Aleksey Shipilev
d8f23ea33b
8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
...
Reviewed-by: kvn, psandoz
2016-03-25 15:34:30 +03:00
Harold Seigel
ff8f7e4a2b
8140665: SIGSEGV when a primitive type's class is used as the host class in a call to DefineAnonymousClass call
...
Instead of assertng, throw an exception
Reviewed-by: acorn, coleenp
2016-03-24 08:13:28 -04:00
Mikael Vidstedt
c40e7bc21f
8149159: Clean up Unsafe
...
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:33:30 -08:00
Aleksey Shipilev
0c43809cfe
8148146: Integrate new internal Unsafe entry points, and basic intrinsic support for VarHandles
...
Reviewed-by: psandoz, kvn, jrose, adinn, simonis, coleenp
2016-02-23 22:09:41 +03:00
Mikael Vidstedt
4e53f48812
8141491: Unaligned memory access in Bits.c
...
Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory
Reviewed-by: jrose, dholmes, psandoz
2016-02-10 15:20:38 -08:00
Christian Thalinger
9e981ee107
Merge
2015-12-18 12:39:02 -08:00
Markus Grönlund
2ad9d3192f
8140485: Class load and creation cleanup
...
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Paul Sandoz
4d4c7ad974
8143628: Fork sun.misc.Unsafe and jdk.internal.misc.Unsafe native method tables
...
Reviewed-by: shade, dholmes, alanb, chegar, mchung, roland
2015-12-09 14:54:40 +01:00
Coleen Phillimore
b046110ab7
Merge
2015-10-28 15:03:40 +01:00
Coleen Phillimore
fc03719078
8139203: Consistent naming for klass type predicates
...
8138923: Remove oop coupling with InstanceKlass subclasses
Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.
Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Goetz Lindenmaier
83b3b21342
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
...
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
Chris Hegarty
ca4787d77b
8139891: Prepare Unsafe for true encapsulation
...
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:18:56 +00:00
Coleen Phillimore
200784d505
8132051: Better byte behavior
...
Co-authored-by: Roland Westerlin <roland.westerlin@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: bdelsart, roland, kvn, jrose, ahgross
2015-10-13 18:13:34 -04:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Bill Pittore
304b59b0c8
8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
...
Need to add a space between macro identifier and string literal
Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Christian Thalinger
8cb760c280
8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
...
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:41 -07:00
Andrew Haley
1dfbc44c1f
8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
...
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.
Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Jesper Wilhelmsson
d7f5fccbc6
Merge
2015-02-16 21:24:39 +01:00
Stefan Karlsson
4913ad5d7d
8072911: Remove includes of oop.inline.hpp from .hpp files
...
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Paul Sandoz
a1d993e9ce
8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
...
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01:00
Paul Sandoz
bfe8fc7433
8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
...
Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:20 +01:00
Yumin Qi
9767fa7cb2
Merge
2014-12-03 20:32:33 -08:00
Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
David Holmes
26dc1466b7
8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
...
Reviewed-by: shade, coleenp
2014-11-25 21:00:21 -05:00
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Jesper Wilhelmsson
2616e09389
Merge
2014-11-17 21:32:32 +01:00
Stefan Karlsson
eebf2b9126
8064581: Move INCLUDE_ALL_GCS include section to the end of the include list
...
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes
2014-11-12 12:41:59 +01:00
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Jon Masamitsu
0e622bfc55
Merge
2014-06-25 20:41:16 -07:00
Coleen Phillimore
d8ce93cea5
6642881: Improve performance of Class.getClassLoader()
...
Add classLoader to java/lang/Class instance for fast access
Reviewed-by: alanb, lfoltan, rriggs, vlivanov, twisti, jfranck
2014-06-19 14:49:33 -04:00
Harold Seigel
b6a2f946f6
8031819: Remove legacy jdk checks and code
...
Delete old jdk specific code.
Reviewed-by: dholmes, coleenp, zgu, lfoltan
2014-06-11 09:58:23 -04:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Goetz Lindenmaier
fb62773268
8042737: Introduce umbrella header prefetch.inline.hpp
...
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00