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
Staffan Larsen
e563c0ecf4
8006423: SA: NullPointerException in sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:67)
...
Do not rely on mach thread port names to identify threads from SA
Reviewed-by: dholmes, minqi, rbackman
2013-02-08 12:48:24 +01:00
Morris Meyer
7d8f623180
6518907: cleanup IA64 specific code in Hotspot
...
Removed unused IA64 specific code
Reviewed-by: twisti, kvn, dholmes
2013-01-25 16:50:33 -08:00
Zhengyu Gu
4d81507a36
Merge
2013-01-22 11:54:16 -08:00
Zhengyu Gu
080750fe65
6871190: Don't terminate JVM if it is running in a non-interactive session
...
Don't handle CTRL_LOGOFF_EVENT event when the process is running in a non-interactive session
Reviewed-by: ctornqvi, acorn
2013-01-22 14:27:41 -05:00
Dave Dice
98c357abf8
8004902: correctness fixes motivated by contended locking work (6607129)
...
Misc correctness fixes
Reviewed-by: acorn, dholmes, dice, sspitsyn
2013-01-22 05:56:42 -08:00
Bengt Rutisson
cfbcddfb0f
8006431: os::Bsd::initialize_system_info() sets _physical_memory too large
...
Use HW_MEMSIZE instead of HW_USERMEM to get a 64 bit value of the physical memory on the machine. Also reviewed by vitalyd@gmail.com .
Reviewed-by: sla, dholmes, dlong, mikael
2013-01-21 09:00:04 +01:00
Harold Seigel
68f3dd76c9
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
...
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
2013-01-17 10:25:16 -05:00
Zhengyu Gu
030fa5107d
7152671: RFE: Windows decoder should add some std dirs to the symbol search path
...
Added JRE/JDK bin directories to decoder's symbol search path
Reviewed-by: dcubed, sla
2013-01-09 14:46:55 -05:00
Yumin Qi
a5fbc1aa4d
Merge
2012-12-24 11:46:38 -08:00
Ron Durbin
9c761152db
8005044: remove crufty '_g' support from HS runtime code
...
Phase 2 is removing '_g' support from the Runtime code.
Reviewed-by: dcubed, coleenp, hseigel
2012-12-19 10:35:08 -08:00