651 Commits

Author SHA1 Message Date
Claes Redestad
cc6cc06183 8221478: Disable VerifySharedSpaces by default
Reviewed-by: iklam, dholmes
2019-05-14 12:00:49 +02:00
Stefan Karlsson
feeab37ce7 8223637: Fix build breakage after 8223136
Co-authored-by: Lutz Schmidt <lutz.schmidt@sap.com>
Co-authored-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: stefank, coleenp
2019-05-11 13:10:24 +02:00
Coleen Phillimore
2559700d1f Merge 2019-05-10 09:07:53 -04:00
Coleen Phillimore
77d60eff6a 8223626: move print() functions to cpp files
Improve debugging experience

Reviewed-by: dholmes, dlong
2019-05-10 09:05:29 -04:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Stefan Karlsson
5a8ba256df 8223136: Move compressed oops functions to CompressedOops class
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Gerard Ziemski
22bf018812 8189208: Cleanup ancient argument processing code
Remove bits thread_park_blocker, post_vm_init_hook_enabled and pending_list_uses_discovered_fields

Reviewed-by: hseigel, dholmes
2019-05-09 12:04:20 -05:00
David Holmes
b0d52bcca1 8223437: Backout JDK-8219974 Restore static callsite resolution for the current class
Reviewed-by: jwilhelm, vlivanov
2019-05-07 17:33:19 -04:00
Sandhya Viswanathan
707c30fae6 8222074: Enhance auto vectorization for x86
Reviewed-by: kvn, vlivanov
2019-05-07 13:33:27 -07:00
Xin Liu
63dbcdc874 8222670: pathological case of JIT recompilation and code cache bloat
Prevent downgraded compilation tasks from recompiling.

Reviewed-by: sgehwolf, thartmann
2019-05-07 09:17:03 +02:00
Vladimir Kozlov
72f082e925 8223332: Update JVMCI
Reviewed-by: never, dnsimon
2019-05-06 20:05:19 -07:00
David Holmes
e0dcd3200a 8222534: VerifyBeforeExit is not honored when System.exit is called
Reviewed-by: coleenp, rehn
2019-05-06 21:23:23 -04:00
Coleen Phillimore
26255c10cb 8222893: markOopDesc::print_on() is a bit confused
Add print_on for ObjectMonitor and make markOop printing sensible and add test.

Reviewed-by: dcubed, pchilanomate
2019-05-06 15:25:57 -04:00
Jie Fu
0ff8db34ca 8221542: ~15% performance degradation due to less optimized inline decision
Reviewed-by: vlivanov, coleenp
2019-05-06 12:17:54 -07:00
Patricio Chilano Mateo
e8e561e471 8220724: TestBiasedLockRevocationEvents fails while matching revoke events to VMOperation events
Safepoint id used by JavaThread when posting event is now set inside appropiate safepoint

Reviewed-by: dholmes, rehn
2019-05-03 12:33:08 -04:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Coleen Phillimore
6f95cac0e2 8223190: Test gc/arguments/TestShrinkHeapInSteps.java breaks with change for JDK-8074355
Remove too strict assert.

Reviewed-by: hseigel
2019-05-01 10:54:07 -04:00
Coleen Phillimore
6fb8502b77 8074355: make MutexLocker smarter about non-JavaThreads
Use safepoint_check_always/safepoint_check_never instead of safepoint_check_sometimes for locks that are taken by JavaThreads and non-JavaThreads

Reviewed-by: dholmes, rehn, dcubed, lmesnik
2019-05-01 08:56:38 -04:00
Jean Christophe Beyler
4b6adaa5f1 8215113: Sampling interval not always correct
Fix the sampling interval

Reviewed-by: phh, sspitsyn
2019-04-30 15:39:42 -07:00
Serguei Spitsyn
e3aa6f7907 8222934: mark new VM option AllowRedefinitionToAddOrDeleteMethods as deprecated
Mark new option depricated

Reviewed-by: dcubed, coleenp, dholmes
2019-04-30 01:56:28 -07:00
Dean Long
61f35bf898 8219403: JVMCIRuntime::adjust_comp_level should be replaced
Reviewed-by: kvn, dnsimon, never
2019-04-24 09:10:45 -07:00
Coleen Phillimore
ccb2e9d925 8222988: Use MonitorLocker rather than MutexLocker when wait/notify used
Fixed use cases in code except CMS.

Reviewed-by: rehn, dcubed
2019-04-29 16:01:52 -04:00
Robbin Ehn
1814ecf475 8222637: Obsolete NeedsDeoptSuspend
Reviewed-by: dlong, coleenp, dholmes
2019-04-26 10:18:47 +02:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Robin Westberg
37281369f0 8220795: Rework naked_short_nanosleep on Windows to improve time-to-safepoint
Reviewed-by: dholmes, rehn
2019-04-24 14:03:20 +02:00
Daniel D. Daugherty
baf1349a2f 8222295: more baseline cleanups from Async Monitor Deflation project
Reviewed-by: coleenp, acorn, dholmes
2019-04-24 10:20:25 -04:00
Harold Seigel
ef40115621 8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
Make the options diagnostic and add -XX:+UnlockDiagnosticVMOptions to tests where needed.

Reviewed-by: lfoltan, acorn, dholmes
2019-04-24 08:27:00 -04:00
Lois Foltan
4f2478e234 8222502: Replace 19,20 case alternatives with JVM_CONSTANT_Module/Package names
Add JVM_CONSTANT_Module and JVM_CONSTANT_Package to classfile_constants.h

Reviewed-by: coleenp, hseigel
2019-04-23 07:05:38 -04:00
Coleen Phillimore
6ebf2ce655 8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods

Reviewed-by: jcbeyler, sspitsyn
2019-04-19 21:49:54 -07:00
Coleen Phillimore
733d251078 8222379: JFR TestClassLoadEvent.java failed due to EXCEPTION_ACCESS_VIOLATION
Give fatal error if CDS loses archive mapping.

Reviewed-by: iklam, ccheung, jiangli
2019-04-18 07:02:07 -04:00
Robbin Ehn
8552ad776a 8218147: make_walkable asserts on multiple calls
Reviewed-by: dholmes, dcubed
2019-04-17 09:25:27 +02:00
Coleen Phillimore
cebdd53c0f 8222297: IRT_ENTRY/IRT_LEAF etc are the same as JRT
Replace IRT entry points with JRT.

Reviewed-by: lfoltan, dcubed
2019-04-12 09:30:17 -04:00
Daniel D. Daugherty
a8e94de188 8222034: Thread-SMR functions should be updated to remove work around
Reviewed-by: mdoerr, eosterlund
2019-04-11 14:14:30 -04:00
Stefan Karlsson
23f02171c8 8221393: ResolvedMethodTable too small for StackWalking applications
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Coleen Phillimore
0314bac167 8222231: Clean up interfaceSupport.inline.hpp duplicated code
Reviewed-by: dholmes, pchilanomate
2019-04-10 17:31:31 -04:00
Matthias Baesken
d40aa622cf 8219241: Provide basic virtualization related info in the hs_error file on linux/windows x86_64
Reviewed-by: dholmes, mdoerr
2019-04-10 08:51:38 +02:00
Andrew Dinn
71164a973b 8221477: Inject os/cpu-specific constants into Unsafe from JVM
Initialize Unsafe os/cpu-specific constants using injection instead of native callouts

Reviewed-by: stuefe, coleenp, dholmes, plevart
2019-04-05 10:01:09 +01:00
Martin Doerr
f65be307bf 8221833: Readability check in Symbol::is_valid not performed for some addresses
Reviewed-by: zgu, coleenp
2019-04-05 09:18:18 +02:00
Goetz Lindenmaier
39f3368ffd 8221470: Print methods in exception messages in java-like Syntax
Reviewed-by: dholmes, mdoerr, coleenp
2019-04-04 09:39:44 +02:00
David Holmes
2f20909d10 8218483: Crash in "assert(_daemon_threads_count->get_value() > daemon_count) failed: thread count mismatch 5 : 5"
Reviewed-by: dcubed, stuefe
2019-04-03 22:03:39 +00:00
Lutz Schmidt
8cdf747187 8221482: Initialize VMRegImpl::regName[] earlier to prevent assert during PrintStubCode
Reviewed-by: kvn
2019-04-03 16:55:41 +02:00
Kim Barrett
e7e00f7ae0 8221102: Allow GC threads to participate in threads claiming protocol
Expand claim counter from 1bit to uintx, with rare overflow handling.

Reviewed-by: tschatzl, rkennke
2019-04-02 13:08:38 -04:00
Kim Barrett
757e6ecfec 8220671: Initialization race for non-JavaThread PtrQueues
Include on_thread_(attach|detach) under NJTList_lock.

Reviewed-by: pliden, rkennke
2019-04-01 17:11:38 -04:00
Stefan Karlsson
2480e3aa18 8221149: os::malloc checks MallocCatchPtr outside of ifdef ASSERT block
Reviewed-by: stuefe, dholmes
2019-04-01 18:36:01 +02:00
Ioi Lam
22484b8c35 8221698: Remove redundant includes from popular header files
Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp

Reviewed-by: coleenp, stuefe
2019-03-30 08:26:20 -07:00
Per Lidén
53c904df4a 8221394: Clean up ConcurrentGCThread
Reviewed-by: kbarrett, eosterlund
2019-03-28 19:43:59 +01:00
Robbin Ehn
76cdc8016f 8220351: Cross-modifying code
Reviewed-by: rrich, mdoerr, dholmes, eosterlund
2019-03-28 11:08:23 +01:00
Thomas Stuefe
dbe0da648a 8220786: Create new switch to redirect error reporting output to stdout or stderr
Reviewed-by: dholmes, goetz
2019-03-25 09:35:40 +01:00
Per Lidén
8e258756bb 8221392: Reduce ConcurrentGCThreads spinning during start up
Reviewed-by: eosterlund, kbarrett
2019-03-27 10:38:49 +01:00