610 Commits

Author SHA1 Message Date
Stefan Karlsson
1a534420a8 8087322: Implement a Semaphore utility class
Reviewed-by: kbarrett, dholmes
2015-01-19 11:06:08 +01:00
Bill Pittore
304b59b0c8 8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal

Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Thomas Stuefe
b46373e827 8078513: [linux] Clean up code relevant to LinuxThreads implementation
Reviewed-by: dholmes, sla, coleenp, simonis
2015-06-22 19:21:04 -04:00
Coleen Phillimore
97f69e8b42 Merge 2015-06-19 13:03:58 +00:00
Gerard Ziemski
ed2bb8c9fc 8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.

Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
Coleen Phillimore
2a2b10342e Merge 2015-06-17 15:45:43 +00:00
Coleen Phillimore
29a1b9c2ed 8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files
Summarize information from linux-x86; it's too long and redundant

Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed
2015-06-17 11:30:51 -04:00
Bertrand Delsart
a6a13b5344 8079473: allow demangling to be optional in dll_address_to_function_name
Add a demangling boolean argument to dll_address_to_function_name and decode

Reviewed-by: dholmes, simonis
2015-06-16 11:58:25 +02:00
Christian Tornqvist
665eee5efe 8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
Reviewed-by: sla, dholmes, gtriantafill
2015-06-01 14:02:59 -07:00
Christian Tornqvist
3c90d44e1a 8080446: The change for 8074354 removed the server check when creating minidumps on Windows
Reviewed-by: sla, hseigel
2015-06-01 14:01:20 -07:00
Ivan Gerasimov
48e61a6f7e 8069068: VM warning: WaitForMultipleObjects timed out (0) ..
Increase timeout to 5 minutes

Reviewed-by: dholmes, dcubed
2015-05-22 02:38:59 +03:00
Jesper Wilhelmsson
25c41c6094 Merge 2015-05-21 21:17:56 +02:00
Daniel D. Daugherty
5cf176b870 Merge 2015-05-16 13:19:11 -07:00
Jesper Wilhelmsson
042902811c Merge 2015-05-11 16:30:26 +02:00
Claes Redestad
a890eee817 8079263: Suppress warning about disabling adaptive size policy when enabling UseLargePages with UseNUMA when adaptive size policy is disabled
Reviewed-by: jmasa, jwilhelm
2015-05-08 15:41:39 +02:00
David Holmes
5c859405b5 8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
Reviewed-by: stuefe, dsamersoff, dcubed
2015-05-12 20:55:40 -04:00
Coleen Phillimore
8a788d57db 8068352: Move virtualspace.* out of src/share/vm/runtime to memory directory
Move virtualspace.* out of src/share/vm/runtime to memory directory

Reviewed-by: brutisso, sgehwolf, stefank, sspitsyn
2015-04-28 16:46:39 -04:00
Thomas Stuefe
301298546c 8077276: allocating heap with UseLargePages and HugeTLBFS may trash existing memory mappings (linux)
Remove MAP_FIXED from initial mapping allocation; add tests

Reviewed-by: stefank, coleenp
2015-04-23 18:00:50 +02:00
Thomas Stuefe
c034b74806 8076475: Misuses of strncpy/strncat
Various small fixes around strncpy and strncat

Reviewed-by: dsamersoff, coleenp
2015-04-07 14:19:03 +02:00
David Holmes
650fe66a1b 8077674: BSD build failures due to undefined macros
Reviewed-by: dsamersoff, kbarrett, hseigel
2015-04-20 21:32:28 -04:00
Calvin Cheung
7bb3af5d16 Merge 2015-04-17 14:37:20 -07:00
Vladimir Kozlov
b9c00b1904 Merge 2015-04-16 14:05:48 -07:00
Yumin Qi
d30de5ab31 8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com

Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dcubed
2015-04-15 17:34:28 -07:00
Thomas Stuefe
3d93d62722 8077257: Use CanUseSafeFetch instead of probing SafeFetch stub directly
Reviewed-by: simonis
2015-04-08 12:51:50 +02:00
Thomas Stuefe
704c02a180 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Add __try/__except around JNI_CreateJavaVM

Reviewed-by: mgronlun, dcubed
2015-04-03 05:55:33 -04:00
Max Ockner
bdbad87334 6983747: Remove obsolete dl_mutex lock
Unused dl_mutex lock has been removed.

Reviewed-by: hseigel, coleenp, dholmes
2015-04-02 10:12:49 -04:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Thomas Stuefe
addb7b0b0f 8075505: aix: improve handling of native memory
Reviewed-by: kvn, stuefe
2015-03-19 14:30:52 +01:00
Daniel D. Daugherty
6029190551 Merge 2015-03-13 09:18:28 -07:00
Vladimir Kozlov
2632925f9f Merge 2015-03-12 15:51:12 -07:00
Thomas Stufe
33690bd090 8074552: SafeFetch32 and SafeFetchN do not work in error handling
Reviewed-by: dholmes, goetz
2015-03-12 19:34:50 -04:00
Gerald Thornbrugh
808f9cab05 8071501: perfMemory_solaris.cpp failing to compile with "Error: dd_fd is not a member of DIR."
Force all Solaris builds to use the same version of the DIR structure.

Reviewed-by: dcubed, dholmes, kvn
2015-03-06 17:19:08 -08:00
Alejandro Murillo
cf1f3d308b Merge 2015-03-06 04:58:52 -08:00
Markus Grönlund
8c5e105bac 8073042: jcmd hangs until another jcmd is executed (which, in turn also hangs)
Reviewed-by: jbachorik, dsamersoff, farvidsson
2015-03-03 20:17:07 +01:00
Vladimir Kozlov
239370b736 Merge 2015-02-26 10:56:54 -08:00
Dean Long
aa21fdd0c0 8072383: resolve conflicts between open and closed ports
Refactor close to remove references to closed ports

Reviewed-by: kvn, simonis, dholmes
2015-02-24 17:23:53 -05:00
Goetz Lindenmaier
a7edf52a02 8073315: Enable gcc -Wtype-limits and fix upcoming issues
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.

Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Vladimir Kozlov
5f8d6ce7b6 Merge 2015-01-20 15:24:58 -08:00
Vladimir Kozlov
8bd2d4db6f Merge 2014-12-22 10:41:57 -08:00
Yasumasa Suenaga
bd3ea105b9 8059586: hs_err report should treat redirected core pattern
Reviewed-by: dholmes, sla, stuefe
2014-12-14 20:18:17 -05:00
Yumin Qi
e4961abb71 Merge 2014-12-12 20:49:14 -08:00
Coleen Phillimore
24201272d6 Merge 2014-12-12 18:13:22 +00:00
Coleen Phillimore
4250926e07 8066803: compiler/intrinsics/mathexact/SubExactINonConstantTest.java crashed in os::is_first_C_frame(frame*)
Stop native stack walk when we get to compiled or stub frame.

Reviewed-by: hseigel, lfoltan, ctornqvi
2014-12-12 13:19:33 -05:00
Albert Noll
7613da167b Merge 2014-12-12 08:40:19 -08:00
Ivan Gerasimov
ff0ca0af12 8066863: bigapps/runThese/nowarnings fails: Java HotSpot(TM) 64-Bit Server VM warning: WaitForMultipleObjects
Limit the number of thread handles to MAXIMUM_WAIT_OBJECTS

Reviewed-by: dholmes, dcubed
2014-12-12 17:24:17 +03:00
Alejandro Murillo
e6d32333f4 Merge 2014-12-11 23:06:14 -08:00
Max Ockner
1d76295d70 8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
Ensure consistent safepoint checking in Mutex/Monitor locking methods.

Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Vladimir Kozlov
48b6c6007f Merge 2014-12-11 15:06:12 -08:00
Andrew Haley
0b30e012ee 8064611: AARCH64: Changes to HotSpot shared code
Everything except cpu/ and os_cpu/

Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
2014-12-11 13:11:53 -08:00