186 Commits

Author SHA1 Message Date
Leo Korinth
eafb888c18 8227168: Cleanup usage of NEW_C_HEAP_ARRAY
Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2019-09-11 14:16:27 +02:00
David Holmes
99c17fbf33 6313903: Thread.sleep(3) might wake up immediately on windows
Reviewed-by: rehn, dcubed, rriggs
2019-09-03 23:42:06 -04:00
Andrew Dinn
047b8bfeb7 8224974: Implement JEP 352
Non-Volatile Mapped Byte Buffers

Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Bob Vandette
9893531f35 8229699: [Graal] jck tests fail on windows with AOTed Graal
Reviewed-by: kvn
2019-08-15 19:29:58 +00:00
David Holmes
392b5f8f62 8228857: Refactor PlatformMonitor into PlatformMutex and PlatformMonitor
Reviewed-by: kbarrett, dcubed, pliden
2019-08-14 00:18:00 -04:00
Matthias Baesken
f454862e65 8228902: add os::dll_load to the unified logging os category
Reviewed-by: coleenp, mdoerr
2019-08-02 10:10:42 +02:00
Ralf Schmelter
d97475df72 8227435: Perf::attach() should not throw a java.lang.Exception
Reviewed-by: sspitsyn, clanger, dholmes
2019-07-18 10:25:49 +02:00
Yasumasa Suenaga
2870c9d55e 8225690: Multiple AttachListener threads can be created
Reviewed-by: sspitsyn, cjplummer
2019-07-16 07:29:12 +09:00
Alex Menkov
f464df375f 8227124: "could not open pipe" error does not report error details
Reviewed-by: sspitsyn, cjplummer
2019-07-05 10:35:37 -07:00
Calvin Cheung
5d1361df03 8211723: AppCDS: referring to a jar file in any way other than exactly how it was done during dumping doesn't work
Replaced os::file_name_strncmp() with os::same_files().

Reviewed-by: iklam, jiangli
2019-06-28 09:49:10 -07:00
Jamsheed Mohammed C M
aedbb75803 8191278: MappedByteBuffer bulk access memory failures are not handled gracefully
Unsafe.copy*Memory access failures are handled gracefully.

Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Reviewed-by: kvn, dcubed, thartmann, coleenp, aph
2019-06-24 11:37:56 -07:00
Matthias Baesken
0bf2650bb1 8224958: add os::dll_load calls to event log
Reviewed-by: dholmes, mdoerr, stuefe
2019-06-05 16:53:52 +02:00
Calvin Cheung
561c9182e8 8223336: Assert in VirtualMemoryTracker::remove_released_region when running the SharedArchiveConsistency.java test with -XX:NativeMemoryTracking=detail
Added the missing call MemTracker::record_virtual_memory_reserve_and_commit()

Reviewed-by: jiangli, zgu
2019-05-31 15:49:12 -07:00
Stefan Karlsson
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
Andrew Luo
5bdacf11bd 8223810: HotSpot compile warnings from VS2017
Reviewed-by: dholmes, stuefe
2019-05-14 20:29:40 -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
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
Christoph Langer
ab051f87d4 8221979: Cleanups for building Windows resources
Reviewed-by: erikj
2019-04-11 15:36:09 +01: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
Ralf Schmelter
0714b75ac4 8220570: Additonal trace when native thread creation fails
Added additonal trace when native thread creation fails

Reviewed-by: dholmes, goetz
2019-03-22 04:47:02 -07:00
Martin Doerr
97ec4aeed2 8219584: Try to dump error file by thread which causes safepoint timeout
Reviewed-by: stuefe, dholmes, kvn
2019-03-08 11:23:30 +01:00
David Holmes
0d13646cbf 8219619: Remove UseFakeTimers and related code
Reviewed-by: zgu, redestad
2019-03-02 18:09:18 -05:00
Ralf Schmelter
24be06441a 8219577: Returning NULL in a function which returns bools
Reviewed-by: shade, zgu, clanger
2019-02-22 04:59:12 -08:00
Claes Redestad
33d947b7e3 8219247: Enable inlining of newly introduced PlatformMonitor methods
Reviewed-by: dholmes, rehn
2019-02-22 09:23:37 +01:00
Mikael Vidstedt
15d554b395 8214777: Avoid some GCC 8.X strncpy() errors in HotSpot
Reviewed-by: kbarrett, rehn
2019-02-21 16:56:06 -08:00
Zhengyu Gu
2cc6f5951c 8219370: NMT: Move synchronization primitives from mtInternal to mtSynchronizer
Reviewed-by: dholmes, rehn
2019-02-20 10:22:46 -05:00
Bob Vandette
e148e49c58 8218169: [AOT] Segmentation fault when running java with AOTed Graal in -Xcomp mode on windows
Reviewed-by: kvn
2019-02-07 17:23:24 -05:00
Patricio Chilano Mateo
c94cdddbdd 8210832: Remove sneaky locking in class Monitor
Removed sneaky locking and simplified vm monitors implementation

Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: rehn, dcubed, pliden, dholmes, coleenp
2019-02-05 15:12:13 -05:00
Harold Seigel
419c048dc3 8215699: -Xlog::file cannot be used with named pipe
If the log file is a named pipe then change the default file_count to zero so no log file rotation is attempted.

Reviewed-by: lfoltan, coleenp
2019-01-17 08:48:11 -05:00
David Holmes
c6653432a5 8214816: os::read() should not transition to _thread_blocked with safepoint check on Solaris
Reviewed-by: jiangli, mgronlun
2019-01-13 16:54:01 -05:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Robbin Ehn
994ab71870 8214180: Need better granularity for sleeping
Reviewed-by: eosterlund, dcubed, dholmes
2018-12-20 10:05:19 +01:00
Nils Eliasson
4246096355 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
Matthias Baesken
f8ccc8393b 8214944: replace strerror by os::strerror
Reviewed-by: dholmes, neliasso
2018-12-06 09:48:33 +01:00
David Holmes
5e0ae53450 8213723: More Monitor/mutex initialization management
8213893: StringTable_lock is unused

Reviewed-by: tschatzl, dcubed, coleenp
2018-11-15 17:55:41 -05:00
Matthias Baesken
e552242db6 8211106: [windows] Update OS detection code to recognize Windows Server 2019
Reviewed-by: alanb, clanger, bobv
2018-10-02 13:48:08 +02:00
David Holmes
ea22b27348 8213760: os::obsolete_option is obsolete and should be removed
Reviewed-by: jiangli, igerasim, stuefe
2018-11-13 16:49:58 -05:00
Roman Kennke
7c3f2b06f1 8213199: GC abstraction for Assembler::needs_explicit_null_check()
Reviewed-by: adinn, eosterlund
2018-11-08 23:31:08 +01:00
Mikael Vidstedt
f69921f2fc 8213436: Obsolete UseMembar
Reviewed-by: kvn, dholmes, mdoerr, adinn
2018-11-08 11:45:13 -08:00
Igor Ignatyev
35871a8ca1 8213058: remove ExecuteInternalVMTests and VerboseInternalVMTests flags
Reviewed-by: erikj, dholmes, ihse
2018-11-02 16:27:55 -07:00
Thomas Stuefe
e4f51809e4 8212173: Thread._stack_base/_stack_size initialized too late for new threads
Reviewed-by: dholmes, simonis
2018-10-19 09:39:29 +02:00
Muthusamy Chinnathambi
cbe11130f5 8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork
Reviewed-by: dholmes, iklam
2018-10-09 16:08:07 +05:30
Calvin Cheung
fcc414655b 8190737: use unicode version of the canonicalize() function to handle long path on windows
Also calling CreateFileW in zip_util.c to handle long path

Reviewed-by: sherman, iklam
2018-09-14 11:17:25 -07:00
Chris Plummer
77921f8a38 8199811: com/sun/jdi/ProcessAttachTest.java fails intermittently: Remote thread failed for unknown reason
Give attach listener thread a chance to finish starting

Reviewed-by: dholmes, gadams
2018-08-29 20:13:53 -07:00
Coleen Phillimore
647c7d5344 8164683: Solaris: JVM abuses thread preemption control
Complete removal of preemption control and command line arguments (were deprecated in 11).

Reviewed-by: hseigel, pchilanomate, dholmes
2018-08-10 09:36:01 -04:00
Kim Barrett
9a9c824ece 8202353: os::readdir should use readdir instead of readdir_r
8202835: jfr/event/os/TestSystemProcess.java fails on missing events

Os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses.

Reviewed-by: coleenp, tschatzl, bsrbnd
2018-07-17 15:59:47 -04:00
Calvin Cheung
a10d6e71d8 8205946: JVM crash after call to ClassLoader::setup_bootstrap_search_path()
Exit vm if setting of boot class path fails.

Reviewed-by: lfoltan, jiangli, dholmes
2018-07-10 19:04:13 -07:00
Robin Westberg
b11c7752e8 8003209: JFR events for network utilization
Reviewed-by: mgronlun, egahlin
2018-06-28 15:06:55 +02:00
Coleen Phillimore
892a2af03f 8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms

Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04:00
Markus Grönlund
04482293bf 8203321: assert(current_query_index < process_query_set->size) failed: invariant
Reviewed-by: rehn
2018-05-31 13:25:40 +02:00