698 Commits

Author SHA1 Message Date
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
Volker Simonis
7d42a4167f 8067015: Implement os::pd_map_memory() on AIX
Reviewed-by: dholmes
2014-12-10 19:12:27 +01:00
Goetz Lindenmaier
46714a7809 8066964: ppc64: argument and return type profiling, fix problem with popframe
Reviewed-by: roland, kvn
2014-12-09 11:57:46 +01:00
Yumin Qi
bb30bd7e0a Merge 2014-12-08 00:15:55 -08:00
Alejandro Murillo
db929c3598 Merge 2014-12-05 16:36:07 -08:00
Yumin Qi
9767fa7cb2 Merge 2014-12-03 20:32:33 -08:00
Chris Hegarty
7e65ec970c Merge 2014-12-03 17:48:58 +00:00
Thomas Stuefe
7a2bd82482 8065788: os::reserve_memory() on Windows should not assert that allocation size is aligned to OS allocation granularity
Reviewed-by: mgronlun, simonis
2014-12-03 17:12:25 +01:00
Chris Hegarty
393a39afe3 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:21:14 +00:00
Daniel D. Daugherty
fbf10d39fa Merge 2015-02-06 10:40:04 -08:00
Alejandro Murillo
e9af52deeb Merge 2015-01-30 16:56:05 -08:00
Yumin Qi
49d48d3c4a Merge 2015-01-29 03:54:44 +00:00
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00