Vladimir Kozlov
85854f0e13
6951686: Using large pages on Linux prevents zero based compressed oops
...
Use req_addr when attaching shared memory segment.
Reviewed-by: twisti
2010-05-17 11:32:56 -07:00
Daniel D. Daugherty
1f1393802c
Merge
2010-05-05 16:39:47 -07:00
John Coomes
99196ff9ca
6888954: argument formatting for assert() and friends
...
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
2010-04-22 13:23:15 -07:00
Andreas Kohn
50654ebc2b
6944822: Fix for 6938627 exposes problem with hard-coded buffer sizes
...
Make tmpdir buffer sizes MAX_PATH+1
Reviewed-by: dholmes, coleenp
2010-04-19 18:58:31 -04:00
Coleen Phillimore
47cda47c42
6938627: Make temporary directory use property java.io.tmpdir when specified
...
Get java.io.tmpdir property in os::get_temp_directory() and call this instead of harcoding "/tmp". Don't assume trailing file_separator either.
Reviewed-by: dholmes, kamg
2010-03-31 16:51:18 -07:00
Andrew Haley
87f44737a8
6936168: Recent fix for unmapping stack guard pages doesn't close /proc/self/maps
...
Add close to returns (fix for 6929067 also contributed by aph)
Co-authored-by: Andreas Kohn <andreas.kohn@fredhopper.com>
Reviewed-by: aph, dcubed, andrew, acorn
2010-03-18 16:47:37 -04:00
Frederic Parain
2450ae35a1
6935224: Adding new DTrace probes to work with Palantir
...
Adding probes related to thread scheduling and class initialization
Reviewed-by: kamg, never
2010-03-17 11:01:05 +01:00
Coleen Phillimore
053d7adeb2
6929067: Stack guard pages should be removed when thread is detached
...
Add code to unmap stack guard area when thread is detached.
Reviewed-by: coleenp, kamg
2010-03-12 10:42:16 -05:00
Daniel D. Daugherty
8acae99fd8
Merge
2010-02-02 11:08:17 -07:00
Daniel D. Daugherty
54c04bca93
6918421: 1/1 in-process JVM now ignores preset Windows unhandled exception filter
...
Add support for chaining Windows UnhandledExceptionFilter handlers
Reviewed-by: kamg, dholmes, never, acorn, ikrylov
2010-02-02 10:37:32 -07:00
Paul Hohensee
ce423c9e98
6843629: Make current hotspot build part of jdk5 control build
...
Source changes for older compilers plus makefile changes.
Reviewed-by: xlu
2009-12-16 12:54:49 -05:00
David Holmes
10232cb341
6822370: ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock (Netra x4450)
...
This day one bug is caused by missing memory barriers in various Parker::park() paths that can result in lost wakeups and hangs.
Reviewed-by: dice, acorn
2009-12-01 22:29:02 -05:00
Gary Benson
5473f394c6
6890308: integrate zero assembler hotspot changes
...
Reviewed-by: never
2009-10-13 12:04:21 -07:00
Abhijit Saha
42e578e5cc
6821003: Update hotspot windows os_win32 for windows 7
...
Reviewed-by: xlu
2009-08-28 08:54:28 -07:00
Vladimir Kozlov
ab7a29cdcc
Merge
2009-08-06 09:37:26 -07:00
Coleen Phillimore
76a4e2a8c1
Merge
2009-07-30 15:06:19 -04:00
Xiomara Jayasena
a63ef10004
6862919: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 07/09
Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Vladimir Kozlov
2641db378b
6863420: os::javaTimeNanos() go backward on Solaris x86
...
Use new atomic long load method Atomic::load() to load max_hrtime.
Reviewed-by: never, ysr, johnc, phh, dcubed, acorn
2009-07-26 16:40:14 -07:00
Poonam Bajaj
fea09e9cd0
6840305: Discrepancy in system memory details (when 4G or greater) reported by JVM and Windows OS
...
GlobalMemoryStatus() does not report correct memory usage when the system has more than 4gb of RAM. GlobalMemoryStatusEx() should be used in place of GlobalMemoryStatus().
Reviewed-by: kamg, coleenp
2009-07-16 18:21:40 -07:00
Igor Veresov
702a13b785
6840196: NUMA allocator: crash in fastdebug during startup on Linux
...
With libnuma >1.2 explicity use 1.1 symbols
Reviewed-by: ysr
2009-05-12 15:55:56 -07:00
Igor Veresov
dacaa6b65d
6838842: NUMA allocator: Segfault during startup on Linux
...
Restored os::free_memory() semantics
Reviewed-by: apetrusenko
2009-05-08 15:20:10 -07:00
Coleen Phillimore
2e43a0450f
6830069: UseLargePages is broken on Win64
...
Making VirtualAlloc/VirtualProtect two calls for PAGE_EXECUTE_READWRITE doesn't work for MEM_LARGE_PAGES.
Reviewed-by: xlu, kvn, jcoomes
2009-04-21 16:12:51 -04:00
Paul Hohensee
4be7c3c672
6819213: revive sun.boot.library.path
...
Support multiplex and mutable sun.boot.library.path
Reviewed-by: acorn, dcubed, xlu
2009-04-01 16:38:01 -04:00
Coleen Phillimore
cec3a034d1
6541756: Reduce executable C-heap
...
Add executable parameters to reserve_memory and commit_memory to reduce executable memory to only the Code Heap.
Reviewed-by: xlu, kvn, acorn
2009-03-25 14:19:20 -04:00
Vladimir Kozlov
41463d1d3a
Merge
2009-03-19 09:13:24 -07:00
Erik Trimble
8d6035660e
Merge
2009-03-12 18:16:36 -07:00
Vladimir Kozlov
69f9ddee90
6791178: Specialize for zero as the compressed oop vm heap base
...
Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb.
Reviewed-by: never, twisti, jcoomes, coleenp
2009-03-12 10:37:46 -07:00
Christian Thalinger
66cecec230
6812587: Use auxv to determine SPARC hardware features on Solaris
...
A similar function to getisax(2) should be used to determine all possible instruction set extensions.
Reviewed-by: never, kvn
2009-03-11 14:16:13 -07:00
Xiomara Jayasena
2be2e027b0
6814575: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 03/09
Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Christian Thalinger
05d1de7727
6810672: Comment typos
...
I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
2009-02-27 13:27:09 -08:00
Y. Srinivas Ramakrishna
0badccf962
6800586: -XX:+PrintGCDateStamps is using mt-unsafe localtime function
...
Replaced localtime() with localtime_r() on Solaris and Linux.
Reviewed-by: apetrusenko, dholmes, jmasa
2009-02-09 12:26:05 -08:00
Coleen Phillimore
76f79d82ad
Merge
2009-01-09 14:39:07 -05:00
Tom Rodriguez
956dc037db
Merge
2009-01-06 16:10:11 -08:00
Xiaobin Lu
f05b009ce8
6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
...
Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2
Reviewed-by: jcoomes, acorn, phh, never
2008-12-24 19:13:53 -08:00
Lillian Angel
1ad664c0c9
6778662: fixes 64-bits libraries directory search paths on linux
...
Fixes 64-bits libraries directory search paths.
Reviewed-by: never
2008-12-22 16:53:34 -08:00
Erik Trimble
ac1f463988
Merge
2008-12-20 09:58:36 -08:00
Erik Trimble
efd43c045a
Merge
2008-12-20 09:57:03 -08:00
Xiaobin Lu
74d9cf0fb8
6784100: getTimeNanos - CAS reduction
...
Get rid of the CAS loop in getTimeNanos to reduce coherence traffic on Solaris.
Reviewed-by: acorn, kvn, ysr
2008-12-19 14:40:28 -08:00
Xiomara Jayasena
99f0eac1a2
6785258: Update copyright year
...
Update copyright for files that have been modified starting July 2008 to Dec 2008
Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:11 -08:00
Coleen Phillimore
e0d2bfab81
6727377: VM stack guard pages on Windows should PAGE_READWRITE not PAGE_EXECUTE_READWRITE
...
Make reguard_stack change access to RW, not execute and use os::protect_memory with the new parameter when change needed to X.
Reviewed-by: acorn, jcoomes
2008-12-10 15:14:29 -08:00
Lev Serebryakov
1d59997abe
Merge
2008-12-05 15:06:37 -05:00
Poonam Bajaj
9330807714
Merge
2008-12-04 17:48:02 -08:00
Poonam Bajaj
eddda26255
6739363: Xcheck jni doesn't check native function arguments
...
Fix adds support for verifying arguments with -Xcheck:jni.
Reviewed-by: coleenp
2008-12-04 17:29:56 -08:00
Igor Veresov
af509dd90d
6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
...
In os::Linux::rebuild_cpu_to_node_map() fix the size of the CPU bitmap. Fixed arithmetic in MutableNUMASpace::adaptive_chunk_size() that could cause overflows and underflows of the chunk_size variable.
Reviewed-by: apetrusenko
2008-12-03 14:18:57 -08:00
John Coomes
6fe817326c
6718879: cannot build on solaris nevada
...
Reviewed-by: xlu
2008-11-11 22:21:13 -08:00
Erik Trimble
4b983d3b39
Merge
2008-10-15 18:51:04 -07:00
Antonios Printezis
04b0ebb9c1
Merge
2008-10-09 12:06:22 -04:00
Kumar Srinivasan
3a72f5c241
6755845: JVM_FindClassFromBoot triggers assertions
...
Fixes assertions caused by one jvm_entry calling another, solved by refactoring code and modified gamma test.
Reviewed-by: dholmes, xlu
2008-10-08 08:10:51 -07:00
Erik Trimble
50964694fe
Merge
2008-10-07 11:01:35 -07:00
Xiaobin Lu
fe28b4f768
6673124: Runtime.availableProcessors / os::active_processor_count wrong if unused processor sets exist
...
Reviewed-by: acorn, dholmes
2008-10-06 11:39:34 -07:00