272 Commits

Author SHA1 Message Date
Roman Kennke
482e40cc8c 8198285: More consistent Access API for arraycopy
Reviewed-by: eosterlund, shade
2018-06-04 23:01:48 +02:00
Alex Menkov
dbb9eb5b9c 8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled
Reviewed-by: sspitsyn, cjplummer
2018-06-04 10:25:44 -07:00
David Holmes
1225e17c54 8189766: whitebox failure with -Xcheck:jni
Reviewed-by: lfoltan, kbarrett
2018-05-29 17:21:31 -04:00
Coleen Phillimore
e3a3941c9a 8202813: Move vm_weak processing from SystemDictionary to WeakProcessor
SystemDictionary has all strong roots.  The weak oop_storage is processed by the WeakProcessor so it can be scanned and cleared concurrently and/or by parallel threads.

Reviewed-by: kbarrett, sjohanss
2018-05-29 15:50:27 -04:00
Ioi Lam
1ae12b4328 8203381: Replace InstanceKlass::allocate_instance_handle with JavaCalls::construct_new_instance
Reviewed-by: lfoltan, dholmes, coleenp, minqi
2018-05-18 09:15:08 -07:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Kim Barrett
65abdefedf 8202631: JVM_Clone to throw CloneNotSupportException for Reference object
JVM_Clone throws; delete previous partial support for cloning.

Reviewed-by: eosterlund, mchung, dholmes, coleenp
2018-05-08 20:59:58 -04:00
Stefan Karlsson
90a2a92fe3 8202709: Move oopDesc::is_archive_object to MetaspaceShared::is_archive_object
Reviewed-by: ehelin, jiangli
2018-05-07 14:57:23 +02:00
Ioi Lam
e48f38966b 8197954: Remove unnecessary intermediary APIs from AppCDS implementation
Reviewed-by: jiangli, ccheung
2018-04-26 13:40:58 -07:00
Stefan Karlsson
1cb95bd3d1 8200729: Conditional compilation of GCs
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Coleen Phillimore
204ba9a580 8202447: Fix unloading_occurred to mean unloading_occurred
Nmethod unloading does not need to test for jvmti to set unloading_occurred, nor do we need to clean weak Klasses in metadata if unloading does not occur.

Reviewed-by: sspitsyn, rehn
2018-04-27 15:00:04 -04:00
Gerard Ziemski
edc81d17e1 8202150: [REDO] Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-26 11:19:05 -05:00
Vladimir Kozlov
ffd8e19eaf 8202075: Crash when running compiler/codecache/OverflowCodeCacheTest.java
Add missing null check in WhiteBox::allocate_code_blob()

Reviewed-by: thartmann
2018-04-24 10:26:54 -07:00
Gerard Ziemski
816e2e5fe0 8202151: [BACKOUT] Split globals.hpp to factor out the Flag class
Backed out JDK-8081519

Reviewed-by: kvn
2018-04-23 14:51:16 -05:00
Gerard Ziemski
60723b7e3d 8081519: Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-23 10:59:39 -05:00
Christoph Langer
a9b0242eef 8201649: Remove dubious call_jio_print in ostream.cpp
Reviewed-by: stuefe, dholmes
2018-04-17 15:54:14 +02:00
Coleen Phillimore
ddfd4c33c6 8201556: Disallow reading oops in ClassLoaderData if unloading
Move class_loader oop to an OopHandle, and assert that holder is alive when getting class_loader.

Reviewed-by: kbarrett, adinn
2018-04-18 18:43:04 -04:00
Coleen Phillimore
c215aa5889 8201537: Remove is_alive closure from Klass::is_loader_alive()
Remove is_alive closure from callers of Klass::is_loader_alive so that cleaning metadata doesn't require GC closure.

Reviewed-by: adinn, stefank
2018-04-18 13:37:39 -04:00
Coleen Phillimore
36d1d59425 8201505: Use WeakHandle for ProtectionDomainCacheTable and ResolvedMethodTable
8193524: Redefining a method that removes use of 1 or more lambda expressions causes the JVM to hang

Remove oop pointers from runtime data structures.

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Reviewed-by: lfoltan, stefank
2018-04-18 12:06:53 -04:00
Coleen Phillimore
1ee531afe9 8200555: OopHandle should use Access API
Add RootAccess<> to OopHandle.resolve() in runtime and interpreter code.  Add comments for compiler code for later.

Reviewed-by: eosterlund, stefank
2018-04-18 10:39:40 -04:00
Thomas Schatzl
5b42f3ce0d 8200426: Make G1 code use _g1h members
Consistently use _g1h member names for cached G1CollectedHeap* variables.

Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Kim Barrett
1ac19a3166 8192025: Less referential references
Reviewed-by: coleenp, eosterlund, mchung, ahgross, rhalade
2018-01-18 22:17:11 -05:00
Jean Christophe Beyler
3380b0d0ef 8205725: Update the JVMTI Spec for Heap Sampling
Update the JVMTI Spec for Heap Sampling

Reviewed-by: amenkov, sspitsyn
2018-07-17 19:59:38 -07:00
Harold Seigel
f988f60dc8 8189123: More consistent classloading
Reviewed-by: acorn, ahgross, rhalade
2017-11-07 16:07:36 -05:00
Stefan Karlsson
367f9ea984 8201244: Clean out unnecessary includes of heap headers
Reviewed-by: coleenp, shade
2018-04-10 12:21:05 +02:00
Per Lidén
15263a27f8 8200429: Adjust object pinning interface on CollectedHeap
Reviewed-by: dholmes, rkennke
2018-04-04 11:59:47 +02:00
Roman Kennke
ddc83cb0e4 8199780: SetMemory0 and CopyMemory0 in unsafe.cpp need to resolve their operands
Reviewed-by: shade, zgu, eosterlund
2018-04-03 17:36:19 +02:00
Leo Korinth
05dd65349b 8200371: In g1, rename ConcurrentMarkThread to G1ConcurrentMarkThread
Reviewed-by: tschatzl, sangheki
2018-04-03 12:05:49 +02:00
Roman Kennke
b938ae51ce 8199781: Don't use naked == for comparing oops
Reviewed-by: coleenp, eosterlund, jrose
2018-04-03 13:15:27 +02:00
Claes Redestad
8143322c0f 8200424: Windows build fails due to implicit jboolean to bool conversion
Reviewed-by: shade, hseigel
2018-03-29 15:05:31 +02:00
Claes Redestad
243b2364f6 8200238: Reduce number of exceptions created when calling MemberName$Factory::resolveOrNull
Reviewed-by: lfoltan, acorn, dholmes
2018-03-29 10:38:29 +02:00
Per Lidén
940bc841a7 8199927: Make WhiteBox more GC agnostic
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Coleen Phillimore
b541d9ad77 8200276: Cleanup allocation.hpp includes
Reviewed-by: stefank, hseigel
2018-03-27 11:53:23 -04:00
Aleksey Shipilev
a4b1eac43f 8200299: Non-PCH build for aarch64 fails
Reviewed-by: thartmann, stuefe
2018-03-27 14:40:19 +02:00
Stefan Karlsson
1a1aecd166 8200106: Move NoSafepointVerifier out from gcLocker.hpp
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Stefan Karlsson
7595845e9a 8200105: Remove cyclic dependency between oop.inline.hpp and collectedHeap.inline.hpp
Reviewed-by: coleenp, kbarrett
2018-03-15 21:29:36 +01:00
Stefan Karlsson
f89abe4589 8199946: Move load/store and encode/decode out of oopDesc
Reviewed-by: eosterlund, coleenp, tschatzl
2018-03-15 21:24:10 +01:00
Coleen Phillimore
221d0f4c54 8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
Remove frame.inline.hpp,etc from header files and adjust transitive includes.

Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Coleen Phillimore
b15a3ff611 8197844: JVMTI GetLoadedClasses should use the Access API
Make sure the holder of a class loader is accessed during iteration of CLDG

Reviewed-by: eosterlund, rkennke
2018-03-21 17:09:34 -04:00
Chris Plummer
fcd067c48d 8195109: ServiceUtil::visible_oop is not needed anymore
Strip out ServiceUtil and all users of it

Reviewed-by: coleenp, stefank, jcbeyler, sspitsyn
2018-03-21 13:07:19 -07:00
Tobias Hartmann
eda7916ce8 8199624: [Graal] Blocking jvmci compilations time out
Handle blocking jvmci compilations that time out.

Reviewed-by: kvn, dnsimon
2018-03-21 08:18:54 +01:00
Roman Kennke
0df6b5baee 8199620: Support for JNI object pinning
Reviewed-by: pliden, tschatzl, eosterlund
2018-03-20 15:59:36 +01:00
Zhengyu Gu
d6bd698077 8199752: NMT: Memory allocated by Unsafe.allocateMemory should be tagged as mtOther
Tag memory allocation from Usafe.allocateMemory as external memory allocation

Reviewed-by: coleenp, stuefe
2018-03-19 08:31:57 -04:00
Coleen Phillimore
fde89a34d0 8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files

Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Jean Christophe Beyler
8fe2f1412c 8199561: Fix two typos in the JVMTI documentation
Fix two typos in the JVMTI documentation

Reviewed-by: sspitsyn, dholmes
2018-03-14 09:58:53 -07:00
Coleen Phillimore
394e34d821 8199282: Remove ValueObj class for allocation subclassing for gc code
Reviewed-by: stefank, kbarrett
2018-03-14 07:27:19 -04:00
Thomas Stuefe
da674f0d0d 8199430: Rename MetaspaceAux to something more meaningful
Reviewed-by: zgu, coleenp
2018-03-11 07:11:03 +01:00
Alex Menkov
07db7c6fd9 8193369: post_field_access does not work for some functions, possibly related to fast_getfield
Reviewed-by: sspitsyn, cjplummer
2018-03-12 14:11:54 -07:00
Coleen Phillimore
7557d78b35 8173070: Remove ValueObj class for allocation subclassing for runtime code
Reviewed-by: stefank, tschatzl, stuefe
2018-03-09 10:46:02 -05:00
David Holmes
032ba00a79 8199012: SEGV in jni_DetachCurrentThread during VM shutdown
Reviewed-by: stuefe, dcubed
2018-03-08 16:44:29 -05:00