8451 Commits

Author SHA1 Message Date
Coleen Phillimore
de3cc93ca6 8164207: Checking missing load-acquire in relation to _pd_set in dictionary.cpp
Use load_acquire for accessing DictionaryEntry::_pd_set since it's accessed outside the SystemDictionary_lock

Reviewed-by: zgu, twisti, dholmes, adinn
2017-08-30 19:18:22 -04:00
Zhengyu Gu
f1ff1ca94b 8186797: cardtable_rs in g1CollectedHeap::initialize() defined, but never used
Reviewed-by: tschatzl, ehelin
2017-08-30 15:48:47 +02:00
Coleen Phillimore
8330d49736 8181170: resolved_references array leaks for RedefineClasses
Clear out resolved_reference from ClassLoaderData::_handles

Reviewed-by: stefank, jiangli, sspitsyn
2017-08-30 07:18:02 -04:00
David Holmes
c9523af5e9 Merge 2017-08-29 10:41:51 +00:00
Muthusamy Chinnathambi
13be218cd2 8185624: G1HeapVerifier's VerifyRootsClosure prints important information on info log level
Fix logging of broken oop to error log level instead of info log level

Reviewed-by: mgerdin, tschatzl
2017-08-29 05:33:15 -04:00
Ioi Lam
b885046273 Merge 2017-08-28 23:46:22 +00:00
Igor Veresov
aac1852968 8186850: Update Graal
Reviewed-by: kvn
2017-08-28 14:43:32 -07:00
Tom Rodriguez
a16dc52336 Merge 2017-08-28 16:40:01 +00:00
Tom Rodriguez
5cc46dd6c4 8181858: [JVMCI] JVMCI should update the trap counters when invalidating for Reason_not_compiled_exception_handler
Reviewed-by: kvn
2017-08-28 15:21:47 +00:00
Coleen Phillimore
fb9f78353f Merge 2017-08-28 15:11:20 +00:00
Claes Redestad
ee4aeaf103 Merge 2017-08-28 14:07:07 +00:00
Coleen Phillimore
96aa3d9dbe 8186042: Optimize OopMapCache lookup
Use lock free access to oopMapCache

Co-authored-by: Frederic Parain <frederic.parain@oracle.com>
Reviewed-by: dholmes, sspitsyn
2017-08-28 09:06:30 -04:00
Kim Barrett
b3bb7c7098 8186476: Generalize Atomic::add with templates
Reviewed-by: aph, dholmes
2017-08-28 13:31:20 +02:00
Andrew Haley
437d3f2c3b 8186666: Bug in the C2 matcher code
Correctly used Op_WeakCompareAndSwapI as required

Reviewed-by: shade, thartmann
2017-08-28 02:55:31 -07:00
Claes Redestad
52f9c55e24 8179040: Avoid Ticks::now calls when EventClassLoad is not enabled
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: ehelin, mgronlun, dholmes, iklam
2017-08-28 00:20:35 +02:00
Jiangli Zhou
e882105310 8186706: ArchivedObjectCache obj_hash() is broken
Use oop's identity_hash. Also use larger table size.

Reviewed-by: ccheung, iklam, coleenp
2017-08-27 15:48:52 -04:00
Thomas Stuefe
7e3331d90d 8186349: [windows] Centralize dbghelp handling code
Rework and fix dbghelp.dll handling; add diagnostic output to hs-err file.

Reviewed-by: iklam, rrich, goetz
2017-08-18 09:05:42 +02:00
Goetz Lindenmaier
b07974fd9f 8186072: dll_build_name returns true even if file is missing
Split dll_build_name into two functions and consolidate to os.cpp file.

Reviewed-by: stuefe, dholmes
2017-08-17 17:26:02 +02:00
Goetz Lindenmaier
192f57c11c 8186437: Lock held when compiler thread creation fails
Reviewed-by: stuefe, kvn
2017-08-22 15:12:26 +02:00
Martin Buchholz
19af636482 8174050: Compilation errors with clang-4.0
Reviewed-by: kvn
2017-08-24 10:26:32 -07:00
Serguei Spitsyn
467fc662c7 Merge 2017-08-24 22:37:27 +00:00
Serguei Spitsyn
a56ee2cf8d Merge 2017-08-24 21:06:33 +00:00
Serguei Spitsyn
704142fff4 8185687: Fix minor bugs in jvmti specification
Fix the doc

Reviewed-by: ksrini, jjg, dcubed
2017-08-24 14:03:21 -07:00
Zhengyu Gu
216c853882 8186748: NMT: memTracker::record_virtual_memory_reserve_and_commit() does not tag the memory as committed
Fixed bug that results NMT to report "Shared class space" as reserved, but not committed memory

Reviewed-by: shade, coleenp
2017-08-24 15:00:10 -04:00
Tom Rodriguez
57ff1b2897 Merge 2017-08-16 20:57:00 +00:00
Tom Rodriguez
129e2684a4 Merge 2017-08-16 20:14:54 +00:00
Jesper Wilhelmsson
6c69df3001 Merge 2017-08-16 21:47:17 +02:00
Harold Seigel
d69af7b386 8186089: Move Arena to its own header file
Move classes Chunk and Arena to new arena.hpp and arena.cpp files

Reviewed-by: coleenp, gtriantafill
2017-08-16 11:17:54 -04:00
Gunter Haug
6804875880 8186286: [BSD] Primary thread's stack size is reported incorrectly
Reviewed-by: shade, stuefe
2017-08-16 14:14:23 +02:00
Coleen Phillimore
c76b282388 Merge 2017-08-24 01:13:04 +00:00
Coleen Phillimore
3d6d1ec64b 8160399: is_oop_or_null involves undefined behavior
8164984: Improper use of is_oop in production code

Replace oop->is_oop*() with oopDesc::is_oop*(oop) so this pointer can be verified

Reviewed-by: iklam, kvn, dholmes
2017-08-23 14:52:55 -04:00
Coleen Phillimore
111116dd5b 8186088: ConstantPoolCache::_resolved_references is not a JNIHandle
Make an OopHandle type to replace jobject to encapsulate these oop pointers in metadata and module entry.

Reviewed-by: sspitsyn, dholmes, jiangli, twisti
2017-08-23 12:00:39 -04:00
Erik Österlund
c1f2527986 Merge 2017-08-23 15:47:41 +02:00
Coleen Phillimore
ba8be6f34a Merge 2017-08-23 12:39:55 +00:00
Kim Barrett
e54adefc2f 8186166: Generalize Atomic::cmpxchg with templates
Reviewed-by: dholmes, coleenp
2017-08-23 14:01:17 +02:00
Vladimir Kozlov
ff0402fe8d 8186453: [AOT] refactor AOT tool code
Reviewed-by: iveresov
2017-08-22 11:50:51 -07:00
Igor Veresov
7465efdb3b 8186235: [Graal] compiler/aot/RecompilationTest.java fails in case UseJVMCICompiler is enabled
Make JVMCI respect -XX:-Inline

Reviewed-by: kvn
2017-08-22 08:53:35 -07:00
John Paul Adrian Glaubitz
f4dadf9c80 8186443: Missing stdint.h for zero builds
Reviewed-by: kbarrett, dholmes
2017-08-22 08:37:17 -04:00
Stefan Johansson
ffa94c7917 8177544: Restructure G1 Full GC code
Reviewed-by: tschatzl, ehelin
2017-08-21 10:45:02 +02:00
Jiangli Zhou
a6dcc4531f Merge 2017-08-15 18:19:18 -04:00
Jiangli Zhou
a8fd54e413 8186238: The constant pool entry to empty string ("") should not be pre-resolved during CDS dump time
Skip constant pool entry to empty string during pre-resolving at CDS dump time.

Reviewed-by: iklam, dcubed
2017-08-15 18:13:20 -04:00
Tom Rodriguez
b97f668af3 8185736: missing default exception handler in calls to rethrow_Stub
Reviewed-by: kvn
2017-08-15 17:18:00 +00:00
Poonam Bajaj
d0e8cdbc40 8185572: Enable AssumeMP by default on SPARC machines
Reviewed-by: kvn, dholmes, bobv
2017-08-15 14:03:52 +00:00
Thomas Stuefe
14d898a1e6 8186199: [windows] JNI_DestroyJavaVM not covered by SEH
Reviewed-by: dholmes, mdoerr
2017-08-15 08:46:32 +02:00
Jiangli Zhou
4a77945c89 8179302: Pre-resolve constant pool string entries and cache resolved_reference arrays in CDS archive
8185924: G1NoteEndOfConcMarkClosure::doHeapRegion() does not do remembered set cleanup work for archive region

Shared class' constant pool resolved_references array is cached.

Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com>
Reviewed-by: coleenp, iklam, tschatzl
2017-08-14 14:32:17 -04:00
Stefan Karlsson
c2654dbbb7 Merge 2017-08-11 22:58:49 +00:00
Stefan Karlsson
4b8d7ee16c Merge 2017-08-11 21:33:56 +00:00
Stefan Karlsson
81a453ec82 8186035: Klass::decode_klass_not_null() asserted on bad oop
Reviewed-by: tschatzl, sjohanss
2017-08-11 23:29:14 +02:00
Andrew Haley
37bbfcb2fa 8172791: Issues with JEP 270 (ReservedStackArea)
Reviewed-by: dcubed, thartmann
2017-08-11 16:29:00 -04:00
Sangheon Kim
ebcca449a0 8173335: Improve logging for j.l.ref.reference processing
Add logs for each phases of references and stats for each worker threads

Reviewed-by: tschatzl, shade
2017-08-10 18:09:19 -07:00