425 Commits

Author SHA1 Message Date
Zhengyu Gu
5515df5c31 7186778: MachO decoder implementation for MacOSX
Implementation of decoder for Apple's MacOSX. The implementation is based on the patch provided by Kevin Walls.

Reviewed-by: coleenp, kamg, kevinw
2012-07-30 10:25:52 -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
Coleen Phillimore
559278381b 7181200: JVM new hashing code breaks SA in product mode
Made new_hash() overloaded rather than a virtual function so SA code doesn't need to be changed.

Reviewed-by: kvn, acorn, dholmes, fparain
2012-07-04 15:55:45 -04:00
Coleen Phillimore
135f315eaa Merge 2012-07-02 13:11:28 -04: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
Vladimir Kozlov
3a84f5407b Merge 2012-06-28 10:35:28 -07:00
Coleen Phillimore
dc5fe663cb 7178670: runtime/7158800/BadUtf8.java fails in SymbolTable::rehash_table
Cannot delete _buckets and HashtableEntries in shared space (CDS)

Reviewed-by: acorn, kvn, dlong, dcubed, kamg
2012-06-25 21:33:35 -04:00
Krystal Mok
3927b8d331 7176856: add the JRE name to the error log
Reviewed-by: coleenp, jrose, kvn, twisti
2012-06-18 12:29:21 -07:00
Coleen Phillimore
55b09e7016 7158800: Improve storage of symbol tables
Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance

Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-13 19:52:59 -04:00
Chris Dennis
27c2e51e67 7172708: 32/64 bit type issues on Windows after Mac OS X port
Reviewed-by: dholmes, coleenp
2012-06-08 02:06:16 -04:00
John Coomes
ec1fb16e34 Merge 2012-06-01 10:29:02 -07:00
Bengt Rutisson
212ab5c73a 7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering
Simplify code, remove unused code, remove ExitAfterGCNum

Reviewed-by: huntch, johnc
2012-05-31 21:10:33 +02:00
Bengt Rutisson
b76f6e07ab 7171936: LOG_G incorrectly defined in globalDefinitions.hpp
Removed LOG_G and LOG_K. Moved LOG_M to where it is being used.

Reviewed-by: twisti, johnc
2012-05-25 22:35:13 +02:00
Jiangli Zhou
31e63d5a3a 7168280: Eliminate the generic signature index slot from field array for field without generic signature
Only allocate the generic signature index slot in the field array for field with generic signature attribute.

Reviewed-by: coleenp, dlong
2012-05-21 14:10:35 -04:00
Bengt Rutisson
b2d4591455 7169056: Add gigabyte unit to proper_unit_for_byte_size() and byte_size_in_proper_unit()
Reviewed-by: jwilhelm, johnc, dholmes
2012-05-15 22:26:37 +02:00
Bengt Rutisson
b68794be17 7161545: G1: Minor cleanups to the G1 logging
Rename "to-space-overflow" to "to-space-exhausted", Introduce one decimal point in the size format, Add Sum to the aggregate and re-order the entries, Add number of GC workers to the log output

Reviewed-by: johnc, jwilhelm
2012-05-14 17:32:17 +02:00
John Cuthbertson
18cb0746b3 Merge 2012-04-06 09:48:34 -07:00
Antonios Printezis
29afa9bf4b 7127697: G1: remove dead code after recent concurrent mark changes
Removed lots of dead code after some recent conc mark changes.

Reviewed-by: brutisso, johnc
2012-04-05 13:57:23 -04:00
Tom Rodriguez
8fc6b2ef2a 7157141: crash in 64 bit with corrupted oops
Reviewed-by: kvn, iveresov
2012-04-02 16:05:56 -07:00
John Coomes
7e1dbd7a03 Merge 2012-03-16 23:52:03 -07:00
Bengt Rutisson
4a2a6ebe99 7152954: G1: Native memory leak during full GCs
Add destructor to TruncatedSeq and call delete when necessary

Reviewed-by: johnc, tonyp
2012-03-13 21:12:53 +01:00
Vladimir Kozlov
e5f92a2396 7147744: CTW: assert(false) failed: infinite EA connection graph build
Rewrote Connection graph construction code in EA to reduce time spent there.

Reviewed-by: never
2012-03-12 10:46:47 -07:00
Bengt Rutisson
a77a5ac2a0 Merge 2012-03-05 22:34:18 +01:00
Mikael Gerdin
27c0786c3b 7148152: Add whitebox testing API to HotSpot
Add an internal testing API to HotSpot to enable more targeted testing of vm functionality

Reviewed-by: phh, dholmes
2012-02-23 14:58:35 +01:00
Frederic Parain
79a5197d1d Merge 2012-02-22 08:19:27 -08:00
Staffan Larsen
d856a7745c 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
Change OSThread to use mach thread_t

Reviewed-by: phh, dcubed
2012-02-19 13:11:39 +01:00
Tom Rodriguez
7a1487a726 Merge 2012-02-17 12:18:52 -08:00
Tom Rodriguez
0d25b8c4d5 7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread
Reviewed-by: kvn
2012-02-17 12:18:10 -08:00
Tom Rodriguez
520f6fcc87 7145537: minor tweaks to LogEvents
Reviewed-by: kvn, twisti
2012-02-15 10:12:55 -08:00
Frederic Parain
3008f1f46e Merge 2012-02-13 06:24:44 -08:00
Zhengyu Gu
b0725ec91a Merge 2012-02-09 07:35:48 -08:00
Zhengyu Gu
e0ec1c804e 7141259: Native stack is missing in hs_err
Code cleanup and creating a private decoder for error handler, since it can be triggered from in signal handler, where no lock can be taken

Reviewed-by: dholmes, kamg, acorn, coleenp
2012-02-09 10:16:26 -05:00
Yumin Qi
3a09f847bb 7131006: java/lang/management/ThreadMXBean/ThreadLists.java
Reviewed-by: dholmes, acorn
2012-02-09 00:51:47 -08:00
Bill Pittore
8e09c4566e Merge 2012-02-06 10:57:49 -05:00
John Coomes
140e8ff0d9 Merge 2012-02-03 12:08:55 -08:00
Frederic Parain
7b1a6d8811 Merge 2012-02-03 14:04:59 -05:00
Tom Rodriguez
5a41427b37 7141200: log some interesting information in ring buffers for crashes
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
Karen Kinnear
ce074f86c3 7114376: Make system dictionary hashtable bucket array size configurable
7u4 new experimental flag -XX:PredictedClassLoadedCount=#

Reviewed-by: dholmes, phh, dcubed
2012-01-30 23:27:30 -05:00
Keith McGuigan
1e318cc920 Merge 2012-01-27 10:42:36 -05:00
Bengt Rutisson
172ebc873c Merge 2012-01-27 09:04:57 +01:00
Igor Veresov
84dda879d0 7131259: compile_method and CompilationPolicy::event shouldn't be declared TRAPS
Make sure that CompilationPolicy::event() doesn't throw exceptions

Reviewed-by: kvn, never
2012-01-26 12:15:24 -08:00
David Holmes
ff8aa96e68 Merge 2012-01-25 19:26:35 -05:00
Frederic Parain
6fd2cebd85 7131346: Parsing of boolean arguments to diagnostic commands is broken
Reviewed-by: dholmes, dcubed
2012-01-25 10:32:29 -08:00
Dean Long
7f5b035542 7130319: C2: running with -XX:+PrintOptoAssembly crashes the VM with assert(false) failed: bad tag in log
Relax assert to allow the VMThread to close the log while the compiler thread is still writing to it.

Reviewed-by: dholmes, never
2012-01-24 18:00:54 -05:00
Zhengyu Gu
43bb0877fc 7071311: Decoder enhancement
Made decoder thread-safe

Reviewed-by: coleenp, kamg
2012-01-17 13:08:52 -05:00
John Cuthbertson
dac656c955 7121547: G1: High number mispredicted branches while iterating over the marking bitmap
There is a high number of mispredicted branches associated with calling BitMap::iteratate() from within CMBitMapRO::iterate(). Implement a version of CMBitMapRO::iterate() directly using inline-able routines.

Reviewed-by: tonyp, iveresov
2012-01-13 13:27:48 -08:00
Paul Hohensee
8efd785f67 Merge 2012-01-11 17:58:26 -05: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
Jon Masamitsu
3c164a7525 Merge 2011-12-27 12:38:49 -08:00
Vladimir Danushevsky
6446da199d Merge 2011-12-22 12:01:46 -05:00