Coleen Phillimore
c336175c94
8038212: Method::is_valid_method() check has performance regression impact for stackwalking
...
Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.
Reviewed-by: mgerdin, mgronlun, hseigel, stefank
2014-05-15 18:23:26 -04:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Masato Yoshida
cf2bf09668
8026334: hs_err improvement: Print elapsed time in a humanly readable format
...
Reviewed-by: coleenp, dsamersoff
2014-04-02 16:08:59 +01:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Erik Helin
c5ef624e7c
Merge
2014-02-13 17:57:27 +01:00
Ioi Lam
7f138c5502
7182040: volano29 limited by os resource on Linux - need better diagnostic message
...
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"
Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Erik Helin
4b802a6d31
Merge
2014-01-30 14:01:45 +01:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Coleen Phillimore
469f290817
8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
...
Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.
Reviewed-by: mgerdin, sspitsyn, jmasa
2014-01-07 13:26:56 -05:00
Jesper Wilhelmsson
40ba2bba2c
8026849: Fix typos in the GC code, part 2
...
Fixed typos in assert messages, flag descriptions and verbose messages
Reviewed-by: stefank, tschatzl
2013-12-10 15:11:02 +01:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Thomas Schatzl
0a1b832ae0
Merge
2013-09-19 09:34:20 +02:00
Bill Pittore
091edb47c5
8024007: Misc. cleanup of static agent code
...
Minor cleanup of static agent code from 8014135
Reviewed-by: dcubed, sspitsyn
2013-09-11 20:03:34 -04:00
Thomas Schatzl
962008f22b
8010722: assert: failed: heap size is too big for compressed oops
...
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
Gerard Ziemski
4c43299be6
8021266: Better life cycle for objects
...
Improve life cycle for objects
Reviewed-by: art, hseigel
2013-09-05 10:29:00 -04:00
Daniel D. Daugherty
379674be8f
Merge
2013-08-30 07:04:42 -07:00
Dmitry Samersoff
98c327bc7d
8009062: poor performance of JNI AttachCurrentThread after fix for 7017193
...
Don't re-evaluate stack bounds for main thread before install guard page
Reviewed-by: coleenp, dholmes, dlong
2013-08-29 21:48:23 +04:00
Bill Pittore
993de8ba28
8014135: The JVMTI specification does not conform to recent changes in JNI specification
...
Added support for statically linked agents
Reviewed-by: sspitsyn, bobv, coleenp
2013-08-23 20:33:02 -04:00
Vladimir Kozlov
f4c4fd7903
Merge
2013-08-01 17:25:10 -07:00
Rickard Bäckman
2d77390705
8020701: Avoid crashes in WatcherThread
...
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
Goetz Lindenmaier
b57506ea6c
8019973: PPC64 (part 11): Fix IA64 preprocessor conditionals on AIX
...
On AIX 7.1 systemcfg.h defines IA64 unconditionally, so test for !AIX where IA64 is used.
Reviewed-by: dholmes, kvn
2013-07-05 22:17:47 +02: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
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
Zhengyu Gu
c2330eb6b1
8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check
...
Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it
Reviewed-by: acorn, coleenp
2013-05-06 11:15:13 -04:00
Ron Durbin
a003234ac8
8010396: checking MallocMaxTestWords in testMalloc() function is redundant
...
Remove redundant checks in testMalloc and add assert.
Reviewed-by: dcubed, coleenp, dholmes
2013-03-20 20:44:54 -07:00
Ron Durbin
f4bcfd04ca
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
...
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out
Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.
Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07: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
Stefan Karlsson
57204d9f34
8003935: Simplify the needed includes for using Thread::current()
...
Reviewed-by: dholmes, rbackman, coleenp
2012-11-27 14:20:21 +01:00
Coleen Phillimore
ddec2a3aed
Merge
2012-11-16 09:19:12 -05:00
Harold Seigel
a28380d97e
7122219: Passed StringTableSize value not verified
...
Check that the values specified for -XX:StringTableSize are within a certain range.
Reviewed-by: dholmes, coleenp
2012-11-12 15:58:11 -05:00
Bill Pittore
dd5c8eb660
8001185: parsing of sun.boot.library.path in os::dll_build_name somewhat broken
...
Dll_dir can contain multiple paths, need to parse them correctly when loading agents
Reviewed-by: dholmes, dlong
2012-11-07 17:53:02 -05:00
Zhengyu Gu
3e481cdd81
7199092: NMT: NMT needs to deal overlapped virtual memory ranges
...
Enhanced virtual memory tracking to track committed regions as well as reserved regions, so NMT now can generate virtual memory map.
Reviewed-by: acorn, coleenp
2012-10-19 21:40:07 -04:00
Stefan Karlsson
7ccbee4177
8000228: Missing call to cr() when printing entry_point in nmethod, in os::print_location
...
Reviewed-by: brutisso, neliasso
2012-10-01 13:29:11 +02:00
Stefan Karlsson
ddd6138b95
8000230: Change os::print_location to be more descriptive when a location is pointing into an object
...
Reviewed-by: mgerdin, twisti
2012-09-28 15:34:32 +02:00
Dmytro Sheyko
48255b9ff3
7194254: jstack reports wrong thread priorities
...
Reviewed-by: dholmes, sla, fparain
2012-09-17 07:36:31 -04:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Christian Thalinger
12901d0e5b
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Markus Gronlund
007126d010
7115199: Add event tracing hooks and Java Flight Recorder infrastructure
...
Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.
Reviewed-by: acorn, sspitsyn
2012-01-11 17:34:02 -05:00
Karen Kinnear
c323bcdca8
7125934: Add a fast unordered timestamp capability to Hotspot on x86/x64
...
Add rdtsc detection and inline generation.
Reviewed-by: kamg, dholmes
2012-01-01 11:17:59 -05:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
John Coomes
af31d0cf27
Merge
2011-08-19 14:08:18 -07:00
Andrew Haley
aefb3a004f
7073913: The fix for 7017193 causes segfaults
...
Buffer overflow in os::get_line_chars
Reviewed-by: coleenp, dholmes, dcubed
2011-08-10 15:04:21 +04:00
John Coomes
804e3e1d96
7061225: os::print_cpu_info() should support os-specific data
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 13:02:54 -07:00
John Coomes
2af4bb66d4
6791672: enable 1G and larger pages on solaris
...
Reviewed-by: ysr, iveresov, johnc
2011-08-17 10:32:53 -07:00
Dmitry Samersoff
52bf12aead
7017193: Small memory leak in get_stack_bounds os::create_stack_guard_pages
...
Getline() returns -1 but still allocate memory for str
Reviewed-by: dcubed, coleenp
2011-03-30 19:38:07 +04:00