Vladimir Kozlov
ddd4d3ad73
Merge
2011-02-14 14:36:29 -08:00
Tom Rodriguez
a7f9351b5d
7018101: os::dll_address_to_function_name returning wrong answers in 64 bit
...
Reviewed-by: acorn, kvn, dsamersoff
2011-02-14 11:46:58 -08:00
Coleen Phillimore
cba53708ec
6588413: Use -fvisibility=hidden for gcc compiles
...
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.
Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00
Coleen Phillimore
8d210c170e
7009828: Fix for 6938627 breaks visualvm monitoring when -Djava.io.tmpdir is defined
...
Change get_temp_directory() back to /tmp and %TEMP% like it always was and where the tools expect it to be.
Reviewed-by: phh, dcubed, kamg, alanb
2011-01-12 13:59:18 -08:00
Daniel D. Daugherty
0c7a73dc8c
Merge
2011-01-07 15:54:32 -08:00
Paul Hohensee
7b0134a7cb
7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
...
Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.
Reviewed-by: coleenp, kvn, dholmes, ysr
2011-01-07 10:42:32 -05:00
Christian Thalinger
84f5de835b
Merge
2011-01-07 03:41:07 -08:00
Alan Bateman
6f2c2c3272
7009975: Large file support broken in hs20-b04
...
Reviewed-by: phh, acorn, kamg
2011-01-07 03:38:19 -08:00
Zhengyu Gu
7098ab98d5
6961186: Better VM handling of unexpected exceptions from application native code
...
Trap uncaught C++ exception on Windows and Solaris and generate hs_err report.
Reviewed-by: coleenp, bobv, dholmes
2010-12-22 11:24:21 -05:00
Vladimir Kozlov
9fd396ce55
7006505: Use kstat info to identify SPARC processor
...
Read Solaris kstat data to get more precise CPU information
Reviewed-by: iveresov, never, twisti, dholmes
2010-12-16 14:15:12 -08:00
Zhengyu Gu
86f7ad735d
Merge
2010-12-11 13:46:36 -05:00
Zhengyu Gu
61a4658b22
7003748: Decode C stack frames when symbols are presented (PhoneHome project)
...
Implemented in-process C native stack frame decoding when symbols are available.
Reviewed-by: coleenp, never
2010-12-11 13:20:56 -05:00
Ivan P Krylov
9802f91e66
6348631: remove the use of the HPI library from Hotspot
...
Move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request
Reviewed-by: coleenp, acorn, dsamersoff
2010-12-01 18:26:32 -05:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Zhengyu Gu
04b08adf06
6751923: JNDI wake up when clock_settime() is called
...
Ported Chris Phillips' patch from jdk5 to jdk7
Reviewed-by: chrisphi, coleenp
2010-11-18 14:37:46 -05:00
Coleen Phillimore
39992cab03
6983240: guarantee((Solaris::min_stack_allowed >= (StackYellowPages+StackRedPages...) wrong
...
Min_stack_allowed is a compile time constant and Stack*Pages are settable
Reviewed-by: dholmes, kvn
2010-10-07 08:06:06 -07:00
Karen Kinnear
9e4a795ff5
6763959: java.util.concurrent.locks.LockSupport.parkUntil(0) blocks forever
...
Absolute time 0 needs to return immediately.
Reviewed-by: phh, dcubed, dholmes
2010-10-04 13:11:10 -04:00
Bob Vandette
b95c7e9523
6953477: Increase portability and flexibility of building Hotspot
...
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04:00
Mandy Chung
a20650acd0
6967423: Hotspot support for modules image
...
Add hotspot support for modules image
Reviewed-by: acorn
2010-07-07 15:35:58 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -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
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
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
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
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
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
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
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
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
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
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
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
Antonios Printezis
615777b6da
Merge
2008-08-21 23:36:31 -04:00
Jon Masamitsu
b57ca9ed91
Merge
2008-08-04 12:11:36 -07:00
Jon Masamitsu
b8633a3b01
Merge
2008-07-28 15:30:23 -07:00
Keith McGuigan
74faacc945
6721093: -XX:AppendRatio=N not supported
...
Add mechanism to ignore unsupported flags for a set period of time
Reviewed-by: acorn, never, coleenp
2008-07-28 14:07:44 -04:00
Coleen Phillimore
20dba03e99
6716785: implicit null checks not triggering with CompressedOops
...
Allocate alignment-sized page(s) below java heap so that memory accesses at heap_base+1page give signal and cause an implicit null check
Reviewed-by: kvn, jmasa, phh, jcoomes
2008-07-19 17:38:22 -04:00
Igor Veresov
1193f0f9db
6723228: NUMA allocator: assert(lgrp_id != -1, "No lgrp_id set")
...
6723229: NUMA allocator: assert(lgrp_num > 0, "There should be at least one locality group")
The fix takes care of the assertion triggered during TLAB resizing after reconfiguration. Also it now handles a defect in the topology graph, in which a single leaf node doesn't have memory.
Reviewed-by: jmasa
2008-07-17 10:26:33 -07:00
Igor Veresov
e9e432633b
6720130: NUMA allocator: The linux version should search for libnuma.so.1
...
Search for libnuma.so.1 on Linux and liblgrp.so.1 on Solaris.
Reviewed-by: jmasa
2008-07-14 04:12:47 -07:00
Xiomara Jayasena
c96a95c4b8
6719955: Update copyright year
...
Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Y. Srinivas Ramakrishna
18f3386a98
6711316: Open source the Garbage-First garbage collector
...
First mercurial integration of the code for the Garbage-First garbage collector.
Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00
Igor Veresov
1689a5ecba
6697534: Premature GC and invalid lgrp selection with NUMA-aware allocator
...
Don't move tops of the chunks in ensure_parsibility(). Handle the situation with Solaris when a machine has a locality group with no memory.
Reviewed-by: apetrusenko, jcoomes, ysr
2008-05-09 16:34:08 +04:00
Igor Veresov
a24f915b60
6684395: Port NUMA-aware allocator to linux
...
NUMA-aware allocator port to Linux
Reviewed-by: jmasa, apetrusenko
2008-04-29 13:51:26 +04:00
Xiaobin Lu
3bc5120d53
6671882: memory access after free in solaris/vm/os_solaris.cpp
...
Corrected the wrong memory access problem and made some minor clean ups
Reviewed-by: dholmes, jcoomes
2008-04-03 12:21:06 -07:00
John Coomes
5ac01e984f
6642862: Code cache allocation fails with large pages after 6588638
...
Reviewed-by: apetrusenko
2008-03-28 23:35:42 -07:00
Steve Bohne
bf559c6dce
6667833: Remove CacheTimeMillis
...
Remove -XX:+CacheTimeMillis option and associated functionality
Reviewed-by: acorn, never
2008-03-19 09:58:01 -04:00