8172 Commits

Author SHA1 Message Date
Thomas Schatzl
06bd79afed 8057003: Large reference arrays cause extremely long synchronization times
Slice large object arrays into parts so that the synchronization of marking threads with an STW pause request does not take long.

Reviewed-by: ehelin, pliden
2016-11-24 11:27:57 +01:00
Thomas Schatzl
54daad1dc3 Merge 2016-11-24 09:33:54 +00:00
Thomas Schatzl
557d68a510 8169703: G1 crashes with guarantee(pretouch_gang != NULL) failed: No pretouch gang specified
Allow use of AlwaysPreTouch without passing a WorkGang.

Reviewed-by: kbarrett, dfazunen, ddmitriev
2016-11-24 10:05:47 +01:00
Stefan Karlsson
fe786e80ee 8169931: 8k class metaspace chunks misallocated from 4k chunk freelist​
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Thomas Stuefe
5eecf3f1e6 8167650: NMT should check for invalid MEMFLAGS
Reviewed-by: dholmes, mockner, cjplummer
2016-11-23 14:33:45 +01:00
Kirill Zhaldybin
9439c78ffa 8168492: Convert CollectedHeap_test to GTest
Reviewed-by: iignatyev, tschatzl
2016-11-23 12:01:57 +03:00
Jesper Wilhelmsson
106e220ae2 Merge 2016-11-11 16:44:36 +01:00
Michail Chernov
f509f32e03 8167196: WhiteBox methods should throw an exception if used with inappropriate collector
Reviewed-by: shade, dfazunen
2017-03-20 16:01:33 +03:00
Thomas Schatzl
de637b636d 8176885: Clear Claimed Marks log message at wrong location in the log
Move message and code to the pre evacuation phase part of the GC

Reviewed-by: sjohanss, sangheki
2017-03-28 09:13:00 +02:00
Jesper Wilhelmsson
0f62f198b2 Merge 2017-03-28 00:03:23 +02:00
Stefan Johansson
d11fb72564 8171238: Unify cleanup code used in G1 Remark and Full GC marking
Reviewed-by: tschatzl, pliden
2017-03-24 10:27:04 +01:00
Thomas Schatzl
bd1aac2cd3 8177453: Start_new_collection_set() timing done during wrong type of GC
Move timing code from full gc to young gc.

Reviewed-by: sjohanss, mgerdin
2017-03-24 10:26:58 +01:00
Chris Plummer
17a8069db3 8176768: hotspot ignores PTHREAD_STACK_MIN when creating new threads
Use PTHREAD_STACK_MIN as a minimum, plus other stack size cleanup

Reviewed-by: dholmes, stuefe, dcubed
2017-03-23 11:10:55 -07:00
Kirill Zhaldybin
2fd9f38a31 8171090: Convert VMStruct_test to GTest
Reviewed-by: iignatyev
2016-12-12 16:16:27 +03:00
Kirill Zhaldybin
98bf7d7727 8171848: ObjectMonitor verify() and print() methods are empty
Reviewed-by: dholmes
2016-12-21 12:47:29 +03:00
Mandy Chung
150d28bb0e 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:02 -07:00
Bob Vandette
2ed31c7b3b 8167501: ARMv7 Linux C2 compiler crashes running jtreg harness on MP systems
Reviewed-by: dcubed
2016-11-03 10:44:17 -04:00
Kirill Zhaldybin
db6e54d852 8168493: Convert TestBitMap_test to GTest
Reviewed-by: kbarrett, tschatzl
2016-11-01 16:23:29 +03:00
Kim Barrett
358f09e305 8166811: Missing memory fences between memory allocation and refinement
Refactored to have needed barrier

Reviewed-by: tschatzl, ehelin
2016-11-22 20:50:31 -05:00
Kim Barrett
213906ee83 8166607: G1 needs klass_or_null_acquire
Use acquire where needed, split refinment humongous and non to simplify.

Reviewed-by: tschatzl, ehelin
2016-11-22 20:24:47 -05:00
Jiangli Zhou
1b1cffb128 8169870: CDS: "assert(partition_size <= size()) failed: partition failed" on 32 bit JVM
Exit the VM and report error if the second ReservedSpace() call also fails.

Reviewed-by: cjplummer, sspitsyn, iklam
2016-11-21 21:07:45 -05:00
Tobias Hartmann
e52cf63f69 8169941: CodeBlob::is_frame_complete_at() does not honor CodeOffsets::frame_never_safe
CodeBlob::is_frame_complete_at() should always return false if _frame_complete_offset is set to CodeOffsets::frame_never_safe (-1).

Reviewed-by: kvn, dlong
2016-11-21 09:33:06 +01:00
Tobias Hartmann
94e3514d8f 8169711: CDS does not patch entry trampoline if intrinsic method is disabled
Always create interpreter method entries for intrinsified methods but replace them with vanilla entries if the intrinsic is disabled at runtime.

Reviewed-by: kvn, iklam
2016-11-21 08:27:10 +01:00
Rachel Protacio
7246df4cca Merge 2016-11-17 21:59:52 +00:00
Rachel Protacio
3f2be39bb3 8165550: Add class loader names to ClassCastException message
Adds new format of class loader names to VM ClassCastException messages

Reviewed-by: dholmes, mchung, lfoltan
2016-11-17 16:28:45 -05:00
Harold Seigel
ccbb28f6a0 8166304: Skipping access check for classes generated by core reflection
Only allow boot and reflection class loader to load sub-types of jdk.internal.reflect

Reviewed-by: acorn, lfoltan, rehn
2016-11-17 14:23:29 -05:00
Kim Barrett
7d9d3aa1a0 8169423: Infinite loop in G1's ConcurrentMarkThread
Also terminate loop if has_aborted flag is set.

Reviewed-by: tschatzl, sjohanss
2016-11-15 19:39:51 -05:00
Harold Seigel
198498171b 8169551: Segfaults in error traces when module version is null
Make sure module->version() is not null before dereferencing it.

Reviewed-by: coleenp, gtriantafill, lfoltan
2016-11-15 08:34:56 -05:00
Jiangli Zhou
e6f754f318 Merge 2016-11-14 19:24:14 -05:00
Jiangli Zhou
70abdc1e0e 8168790: CDS: assert(max_delta <= (0x7FFFFFFF)) failed: range check
Change the assert to check the current delta is less than 0x7FFFFFFF.

Reviewed-by: iklam, ddmitriev
2016-11-14 18:03:44 -05:00
Calvin Cheung
1c8fc7bca4 8168796: relax vm options checking during CDS dump time
Warning instead of exit for the following vm options specified during CDS dump time: --module-path, --upgrade-module-path, --add-modules

Reviewed-by: hseigel, jiangli, sspitsyn
2016-11-14 10:42:13 -08:00
Jesper Wilhelmsson
bc72fc2242 Merge 2016-11-11 16:44:36 +01:00
Erik Helin
d19575bfac 8167679: G1 phase logging is messy
Reviewed-by: sjohanss, tschatzl
2016-11-07 10:38:42 +01:00
Rahul Raghavan
c5b56dab55 8169201: Montgomery multiply intrinsic should use correct name
Corrected stubName to montgomery_multiply for inline_montgomeryMultiply()

Reviewed-by: aph, thartmann, zmajo
2016-11-10 23:26:56 -08:00
Tom Rodriguez
72d04ec80a 8169554: [JVMCI] expose missing StubRoutines for intrinsics
Reviewed-by: kvn
2016-11-10 13:08:02 -08:00
Nils Eliasson
df8bbfafc7 8167656: Unstable MethodHandle inlining causing huge performance variations
Profile calls without a reciever

Reviewed-by: jrose, vlivanov, kvn
2016-11-10 18:08:31 +01:00
Harold Seigel
300390f275 8167104: Additional class construction refinements
Reviewed-by: acorn, mschoene, asmotrak
2016-10-26 15:12:53 -04:00
Thomas Stuefe
d93ba6ef1d 8168542: os::realloc should return a valid pointer for input size=0
Reviewed-by: dholmes, cjplummer, dsamersoff, rehn
2016-10-24 14:51:16 +02:00
Shafi Ahmad
0a19790e65 8167423: Adding return value check and updating index variable
Reviewed-by: dholmes, coleenp
2017-02-16 00:50:19 -08:00
Joseph Provino
f404ded34f Merge 2017-02-27 23:20:05 +01:00
Joseph Provino
68fa501522 8168038: Some methods in G1RemSet are virtual unnecessarily
G1RemSet has a number of virtual functions, yet is derived from CHeapObj and has no subclasses.

Reviewed-by: kbarrett, tschatzl
2017-02-27 12:41:41 -05:00
Alexander Harlap
725e1cfafe 8151045: Remove code duplication in PLABStats/G1EvacStats::adjust_desired_plab_sz
Move class specific code to the helper method

Reviewed-by: kbarrett, tschatzl
2017-02-23 12:50:49 -05:00
Bob Vandette
929fc23c45 Merge 2017-02-24 12:41:26 -05:00
Stefan Johansson
ae38e65467 8173764: G1 BOT wrongly assumes that objects must always begin at the start of G1BlockOffsetTablePart
Reviewed-by: tschatzl, kbarrett
2017-02-24 10:41:56 +01:00
Vladimir Kempik
bf9a4cd8fb 8165753: Custom security manager, crashing wth 'java/security/AccessControlException'
Reviewed-by: dholmes, dcubed
2017-02-17 02:31:12 +00:00
Goetz Lindenmaier
8698102379 8173465: Introduce NearLabel for branches known to be short
Reviewed-by: kvn
2017-01-27 10:22:19 +01:00
Coleen Phillimore
0b3bc5c4f0 8169881: Remove implicit Handle conversions oop->Handle
Pass THREAD to Handle as argument instead of implicit Thread::current() call.

Reviewed-by: dholmes, sspitsyn
2017-02-15 22:59:57 -05:00
Yasumasa Suenaga
b1171ce431 8172285: UL support for PrintCompilation
Reviewed-by: kvn
2017-02-14 20:00:28 -08:00
Yasumasa Suenaga
5a06c21978 8172286: CodeCacheFlushing message should be shown in UL
Reviewed-by: kvn
2017-02-14 19:16:46 -08:00
David Holmes
ec7aacc831 8157709: NMT should use size_t version of Atomic::add
Reviewed-by: kbarrett, sspitsyn
2017-02-13 19:10:55 -05:00