Tao Mao
1ddf2378db
7122222: GC log is limited to 2G for 32-bit
...
Enable large file support for generated 32-bit ostream.o on Linux and Solaris (as only the two need this) by setting -D_FILE_OFFSET_BITS=64 in compilation
Reviewed-by: tbell, mgerdin, dcubed
2013-06-07 09:46:58 -07:00
Zhengyu Gu
61a30f035b
8013651: NMT: reserve/release sequence id's in incorrect order due to race
...
Fixed NMT race condition for realloc, uncommit and release
Reviewed-by: coleenp, ccheung
2013-06-18 08:44:08 -04:00
Ron Durbin
be6e745755
7178026: os::close can restart ::close but that is not a restartable syscall
...
Removed restart macros from all os:close calls on Solaris, Linux, MacOS X platforms.
Reviewed-by: dcubed, dholmes
2013-06-14 07:46:22 -07:00
Daniel D. Daugherty
72a51a0c44
8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
...
Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.
Reviewed-by: zgu, stefank, dholmes, dsamersoff
2013-06-13 11:16:38 -07:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Vladimir Kozlov
e62cfbfd5f
Merge
2013-06-06 11:02:25 -07:00
Daniel D. Daugherty
7771d30db3
Merge
2013-06-06 05:56:33 -07:00
Gerard Ziemski
2fad2249a2
8009302: Mac OS X: JVM crash on infinite recursion on Appkit Thread
...
Use SA_ONSTACK flag to ensure signal gets delivered properly.
Reviewed-by: dholmes, coleenp
2013-06-05 14:12:49 -04:00
Volker Simonis
9fbd8582b4
8015252: Enable HotSpot build with Clang
...
Reviewed-by: twisti, dholmes, kvn
2013-06-04 22:16:15 -07:00
Christian Tornqvist
7f2a2f1460
8015329: Print reason for failed MiniDumpWriteDump() call
...
Printing both result from GetLastError and text representation of error. Also changed so that we produce dumps by default on client versions of Windows when running with a debug build. Also reviewed by peter.allwin@oracle.com
Reviewed-by: sla, dholmes
2013-05-28 15:08:57 +02:00
Thomas Schatzl
54964edefa
8013895: G1: G1SummarizeRSetStats output on Linux needs improvemen
...
Fixed the output of G1SummarizeRSetStats: too small datatype for the number of concurrently processed cards, added concurrent remembered set thread time retrieval for Linux and Windows (BSD uses os::elapsedTime() now), and other cleanup. The information presented during VM operation is now relative to the previous output, not always cumulative if G1SummarizeRSetStatsPeriod > 0. At VM exit, the code prints a cumulative summary.
Reviewed-by: johnc, jwilhelm
2013-05-28 09:32:06 +02:00
Christian Thalinger
c6c7f3439e
Merge
2013-05-16 13:47:55 -07:00
Yumin Qi
98151c30c8
8012902: remove use of global operator new - take 2
...
The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms.
Reviewed-by: coleenp, dholmes, zgu
2013-05-14 09:41:12 -07:00
Christian Thalinger
7c367a6025
8008772: remove gamma launcher
...
Reviewed-by: kvn, neliasso, ctornqvi
2013-05-06 19:49:23 -07:00
Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Vladimir Danushevsky
cd7d5cba42
Merge
2013-05-01 10:10:57 -04:00
Vladimir Danushevsky
867c30e1bd
8013398: Adjust number of stack guard pages on systems with large memory page size
...
Auto adjust number of stack guard pages on systems with large memory page size
Reviewed-by: bobv, coleenp
2013-04-30 17:36:01 -04:00
Calvin Cheung
0f7adcc3d9
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
...
Reviewed-by: coleenp, zgu, hseigel
2013-04-30 11:56:52 -07:00
Mikael Vidstedt
9e8a3585b0
8012015: Use PROT_NONE when reserving memory
...
Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE.
Reviewed-by: dholmes, ctornqvi
2013-04-29 11:03:49 -07:00
Vladimir Ivanov
f26c1a6c88
8012260: ciReplay: Include PID into the name of replay data file
...
Reviewed-by: kvn, twisti
2013-04-25 11:02:32 -07:00
Daniel D. Daugherty
2cb874268e
Merge
2013-04-21 21:05:02 -07:00
Daniel D. Daugherty
138bab2963
8012907: anti-delta fix for 8010992
...
Anti-delta fix for 8010992 until 8012902 can be fixed
Reviewed-by: acorn, minqi, rdurbin
2013-04-21 20:41:04 -07:00
Daniel D. Daugherty
46b3969016
Merge
2013-04-19 16:51:27 -07:00
Yumin Qi
735ab2cd1c
8010992: Remove calls to global ::operator new[] and new
...
Disable use of global operator new and new[] which could cause unexpected exception and escape from NMT tracking.
Reviewed-by: coleenp, dholmes, zgu
2013-04-19 11:08:52 -07:00
Niclas Adlertz
09fdc18edc
8011621: live_ranges_in_separate_class.patch
...
Reviewed-by: kvn, roland
2013-04-16 10:08:41 +02:00
David Chase
55c4ce1ca1
7104565: trim jprt build targets
...
Remove JPRT debug builds, remove -DDEBUG -DFASTDEBUG and use ASSERT instead in sources
Reviewed-by: dholmes, kvn, coleenp
2013-04-12 15:53:30 -07:00
Zhengyu Gu
e722199fc0
Merge
2013-04-05 23:10:04 -07:00
Calvin Cheung
a72b5d24e6
8006001: [parfait] Possible file leak in hotspot/src/os/linux/vm/perfMemory_linux.cpp
...
Reviewed-by: zgu, coleenp, hseigel, dholmes
2013-04-05 11:15:13 -07:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Vladimir Kozlov
c68fa92e4b
8011198: LP64 setting is not preserved on Solaris after 8006965
...
Fixed incremental build makefiles generated by buildtree.make. Consolidated unix build.sh.
Reviewed-by: twisti
2013-04-04 12:18:46 -07:00
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Calvin Cheung
33f6dd2215
8006103: [parfait] Possible null pointer dereference at hotspot/src/os/linux/vm/os_linux.cpp; os_windows.cpp; os_solaris.cpp; os_bsd.cpp
...
Reviewed-by: zgu, iklam
2013-04-03 16:43:09 -07:00
Mikael Gerdin
0a963fd1b7
Merge
2013-04-03 09:19:02 +02:00
Nils Eliasson
5b838d4ce1
7034299: Faulty winsock initialization code
...
Reviewed-by: dholmes, sla, ctornqvi
2013-04-02 09:30:07 +02:00
Thomas Schatzl
bb5bd507d7
7112912: Message "Error occurred during initialization of VM" on boxes with lots of RAM
...
Ergonomics now also takes available virtual memory into account when deciding for a heap size. The helper method to determine the maximum allocatable memory block now uses the appropriate OS specific calls to retrieve available virtual memory for the java process. In 32 bit environments this method now also searches for the maximum actually reservable amount of memory. Merge previously separate implementations for Linux/BSD/Solaris into a single method.
Reviewed-by: jmasa, tamao
2013-03-27 19:21:18 +01:00
Ioi Lam
ba67f14480
8010389: After fix for 7107135 a failed dlopen() call results in a VM crash
...
Call dlerror() in VM thread as necessary.
Reviewed-by: coleenp, dholmes
2013-03-21 20:46:46 -07:00
Stefan Karlsson
35177d7db2
Merge
2013-03-15 08:57:55 +01:00
Stefan Karlsson
1e1174e0be
8004697: SIGSEGV on Solaris sparc with -XX:+UseNUMA
...
Don't scan pages outside the given range.
Reviewed-by: jwilhelm, jmasa
2013-03-11 02:24:01 -07:00
Daniel D. Daugherty
f73c8f1408
Merge
2013-03-08 17:14:22 -08:00
Morris Meyer
6723fac299
Merge
2013-03-07 14:46:20 -08:00
Zhengyu Gu
4cdcd6dc13
8008257: NMT: assert(new_rec->is_allocation_record()) failed when running with shared memory option
...
Corrected virtual memory recording and tagging code when large pages are used
Reviewed-by: coleenp, ccheung
2013-03-07 14:06:44 -05:00
Ioi Lam
5116181e1f
7107135: Stack guard pages are no more protected after loading a shared library with executable stack
...
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.
Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Morris Meyer
999837eb30
8008559: [parfait] Path through non-void function '_ZN2os15thread_cpu_timeEP6Thread' returns an undefined value
...
Safety checks for non-Apple thread time functions
Reviewed-by: kvn
2013-03-04 13:15:01 -08:00
Volker Simonis
76fa595599
8008959: Fix non-PCH build on Linux, Windows and MacOS X
...
Fix the build without precompiled headers by either including the missing ".inline.hpp" files into the appropriate files or by turning inline-functions declared in header files into ordinary functions in ".cpp" files.
Reviewed-by: coleenp, stefank, dholmes
2013-02-27 09:40:30 +01:00
Harold Seigel
2d47fd6658
8004495: [parfait] False positive Buffer overflow in hotspot/src/os/linux/vm/os_linux.cpp
...
Delete the questionable source code because it is for no-longer supported versions of Linux.
Reviewed-by: mikael, coleenp
2013-02-20 07:16:23 -05:00
Harold Seigel
301152ddb7
6749267: Signal handler should save/restore errno
...
Save errno before processing signal, then restore it.
Reviewed-by: acorn, sspitsyn
2013-02-19 08:51:56 -05:00
Staffan Larsen
1439d121c2
8007779: os::die() on solaris should generate core file
...
Reviewed-by: dholmes, rbackman
2013-02-18 12:49:53 +01:00
Markus Grönlund
7d28698730
8007312: null check signal semaphore in os::signal_notify windows
...
Reviewed-by: dholmes, sla
2013-02-13 11:23:46 +01:00
Serguei Spitsyn
6ff685b4c8
Merge
2013-02-08 09:14:06 -08:00