3299 Commits

Author SHA1 Message Date
David Chase
94609df5da 8017578: Hotspot compilation error with latest Studio compiler
Make the destructor virtual (note more non-compiler hotspot errors occur downstream)

Reviewed-by: kvn, twisti
2013-07-09 08:56:04 -04:00
Goetz Lindenmaier
85fedf2714 8020059: The flag introduced by 8014972 is not defined if Hotspot is built without a compiler (zero, ppc64 core build)
Define CodeCacheMinimumUseSpace flag for cppInterpeter build.

Reviewed-by: kvn
2013-07-08 14:15:02 -07:00
Roland Westrelin
6864f9f8a8 Merge 2013-07-04 01:42:34 -07:00
Tao Mao
c02e42d05e Merge 2013-07-03 15:04:53 -07:00
Tao Mao
e94f9fcf63 Merge 2013-07-03 14:50:10 -07:00
Christian Thalinger
3fb7de3d0d Merge 2013-07-02 22:51:23 -07:00
Christian Thalinger
90c790728d 8017571: JSR292: JVM crashing on assert "cast to instanceKlass" while producing MethodHandle for array methods with MethodHandle.findVirtual
Reviewed-by: kvn
2013-07-02 20:27:00 -07:00
David Chase
9a359984c2 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test

Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Coleen Phillimore
4ecee47075 Merge 2013-07-02 16:54:24 +02:00
Coleen Phillimore
1e7c006d39 8015391: NPG: With -XX:+UseCompressedKlassPointers OOME due to exhausted metadata space could occur when metaspace is almost empty
Allocate medium chunks for class metaspace when class loader has lots of classes

Reviewed-by: mgerdin, jmasa
2013-07-02 08:42:37 -04:00
Albert Noll
386e37ba15 8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
Introduce a minimum code cache size that guarantees that the VM can startup.

Reviewed-by: kvn, twisti
2013-07-02 07:51:31 +02:00
Vladimir Kozlov
fc1302ea95 8019247: SIGSEGV in compiled method c8e.e.t_.getArray(Ljava/lang/Class;)[Ljava/lang/Object
Undo recent changes (and add more comments) in Ideal_allocation().

Reviewed-by: roland
2013-07-02 10:30:49 -07:00
Volker Simonis
7936ee54bf 8019382: PPC64: Fix bytecodeInterpreter to compile with '-Wunused-value'
Cast the offending expressions to (void)

Reviewed-by: kvn, coleenp
2013-07-01 14:14:16 -07:00
Tao Mao
7109e85e43 8017611: Auto corrector for mistyped vm options
The auto corrector for mistyped vm options fuzzy-matches existing flags based on string similarity (Dice's coefficient).

Reviewed-by: kvn, dsamersoff, hseigel, johnc
2013-06-28 20:18:04 -07:00
John Cuthbertson
f93ee2a9dd 8017070: G1: assert(_card_counts[card_num] <= G1ConcRSHotCardLimit) failed
The assert is invalid when a card is being refined by two different threads and its count crosses the hot threshold - the refinement count will be updated once by each thread triggering the assert. Remove the assert and update the count using a bounded expression.

Reviewed-by: jmasa, tamao, brutisso
2013-07-01 09:30:23 -07:00
Per Liden
36967c98e4 8014022: G1: Non Java threads should lock the shared SATB queue lock without safepoint checks
Reviewed-by: tschatzl, brutisso, jmasa, ysr
2013-06-30 21:42:07 +02:00
Erik Helin
f72bcd09ec Merge 2013-06-28 18:28:17 +02:00
Alejandro Murillo
c2c1793452 Merge 2013-06-28 02:25:07 -07:00
Vladimir Kozlov
579c7ac5ab Merge 2013-06-27 11:12:19 -07:00
Erik Helin
62be1fc827 Merge 2013-06-27 10:56:10 +02:00
Bengt Rutisson
d3dfbb3cf2 8017483: G1 tests fail with native OOME on Solaris x86 after HeapBaseMinAddress has been increased
Set HeapBaseMinAddress as default rather than ergo

Reviewed-by: stefank, jmasa, kvn
2013-06-27 09:59:59 +02:00
David Katleman
dcb3a24cfc 8017323: JDK8 b95 source with GPL header errors
Reviewed-by: tbell, darcy
2013-06-26 11:25:42 -07:00
Erik Gahlin
bb7b31d9ff 8016331: Minor issues in event tracing metadata
Reviewed-by: stefank, brutisso, mgronlun
2013-06-26 17:02:04 +02:00
Erik Helin
604a75ff30 8013590: NPG: Add a memory pool MXBean for Metaspace
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Jon Masamitsu
ca3a1be3fe 8014851: UseAdaptiveGCBoundary is broken
Reviewed-by: tschatzl, brutisso
2013-06-25 15:17:11 -07:00
Alejandro Murillo
2289eb801f Merge 2013-06-25 12:46:21 -07:00
Jon Masamitsu
a154f7c01e 8014546: MetaspaceAux print_metaspace_change() should print "used" after GC not capacity
Reviewed-by: johnc, tschatzl
2013-06-25 09:58:26 -07:00
Coleen Phillimore
39a1c1d6c2 8016325: JVM hangs verifying system dictionary
Minimize redundant verifications of Klasses.

Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Goetz Lindenmaier
1f6c4015a7 8017531: 8010460 changes broke bytecodeInterpreter.cpp
Replace _indy by _jsr292 and also fix VERIFY_OOP macros.

Reviewed-by: kvn
2013-06-24 16:11:47 +02:00
Niclas Adlertz
19d56715fa 8017243: 8001345 is incomplete
Replaces unused decodeN at MemBarAcquire with its corresponding loadN if loadN is used at more than one place.

Reviewed-by: kvn, twisti
2013-06-25 12:07:07 -07:00
Goetz Lindenmaier
fad60d1428 8017308: Remove unused breakpoint relocation type
Remove unused breakpoint relocation type

Reviewed-by: kvn
2013-06-24 11:53:54 -07:00
Ioi Lam
196c8abc3d 8009575: Reduce Symbol::_refcount from 4 bytes to 2 bytes
Added Atomic::inc(short*) to support this change.

Reviewed-by: coleenp, dcubed, dholmes, minqi
2013-06-23 22:08:28 -07:00
Daniel D. Daugherty
1c281a9fb3 Merge 2013-06-21 10:55:26 -07:00
Daniel D. Daugherty
b786264739 Merge 2013-06-21 08:18:08 -07:00
Doug Simon
42ca17cea2 8017177: more explicit code location information in hs_err crash log
Add code pc location for compiled code

Reviewed-by: kvn, coleenp
2013-06-21 10:57:00 -04:00
Coleen Phillimore
90292afbfa 8004124: Handle and/or warn about SI_KERNEL
Detect this crash in the signal handler and give a fatal error message instead of making us chase down bugs that don't reproduce

Reviewed-by: kvn, mgerdin, dholmes
2013-06-21 10:50:19 -04:00
Vladimir Kozlov
175419c053 Merge 2013-06-20 16:08:11 -07:00
Markus Grönlund
e7b16a5e79 8016735: Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
Reviewed-by: sla, dholmes
2013-06-20 11:53:51 +02:00
Erik Helin
774e23fae7 Merge 2013-06-20 10:03:58 +02:00
Ioi Lam
0decdc537a 8008964: NPG: Memory regression: Thread::_metadata_handles uses 1 KB per thread
Reduce default size of Thread::_metadata_handles from 300 to 30

Reviewed-by: coleenp, sspitsyn
2013-06-19 20:51:39 -07:00
Vladimir Kempik
053da424c7 8015903: Format issue with -XX:+PrintAdaptiveSizePolicy on JDK8
Missing linebreak in hotspot log.

Reviewed-by: brutisso, tschatzl
2013-06-19 06:09:46 -07:00
Chris Hegarty
748456a6d9 Merge 2013-06-19 11:02:10 +01:00
Niclas Adlertz
556b4925b3 8001345: VM crashes with assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Remove unnecessary LoadN / DecodeN nodes at MemBarAcquire nodes.

Reviewed-by: kvn, roland
2013-06-19 00:41:56 +02:00
Bengt Rutisson
3cc79df807 8016556: G1: Use ArrayAllocator for BitMaps
Reviewed-by: tschatzl, dholmes, coleenp, johnc
2013-06-18 22:45:32 +02:00
John Cuthbertson
5382e0759e 8015237: Parallelize string table scanning during strong root processing
Parallelize the scanning of the intern string table by having each GC worker claim a given number of buckets. Changes were also reviewed by Per Liden <per.liden@oracle.com>.

Reviewed-by: tschatzl, stefank, twisti
2013-06-18 12:31:07 -07:00
Zhengyu Gu
43c33d40c3 Merge 2013-06-18 09:34:16 -04: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
David Chase
7ddef5cd69 8002160: Compilation issue with adlc using latest SunStudio compilers
Modify declaration of 'swap' overloading; dodge optimizer bug in c1_LIR.cpp

Reviewed-by: kvn, jrose
2013-06-17 12:35:53 -04:00
Staffan Larsen
055cce652b 8016304: ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8
Reviewed-by: dcubed, mgronlun
2013-06-17 18:35:44 +02:00
Chris Hegarty
ae4642e749 Merge 2013-06-17 11:17:49 +01:00