Commit Graph

23905 Commits

Author SHA1 Message Date
Erik Helin
1e094bab2d Merge 2014-04-23 10:12:34 +02:00
Thomas Schatzl
1653234dda 8040792: G1: Memory usage calculation uses sizeof(this) instead of sizeof(classname)
A few locations in the code use sizeof(this) which returns the size of the pointer instead of sizeof(classname) which returns the size of the sum of its members. This change fixes these errors and adds a few tests.

Reviewed-by: mgerdin, brutisso
2014-04-22 11:10:12 +02:00
Alejandro Murillo
16d0213a96 Merge 2014-04-18 10:30:13 -07:00
Bharadwaj Yadavalli
32024b5144 Merge 2014-04-17 13:50:26 -04:00
Per Lidén
820ae7109e 8040245: G1: VM hangs during shutdown
Temporarily disable the shutdown of the concurrent GC threads introduced in JDK-8037112

Reviewed-by: brutisso, tschatzl, jmasa
2014-04-17 18:47:15 +02:00
Lev Priima
a138550830 8039260: c.o.j.t.ProcessTools::createJavaProcessBuilder(boolean, String... ) must also take TestJavaOptions
Reviewed-by: kvn, iignatyev
2014-04-17 18:54:09 +04:00
Bengt Rutisson
5d967f0aea 8040722: G1: Clean up usages of heap_region_containing
Reviewed-by: tschatzl, jmasa
2014-04-17 15:57:02 +02:00
Richard Reingruber
728ea561aa 8038048: assert(null_obj->escape_state() == PointsToNode::NoEscape,etc) runThese -full
Use correct set_escape_state() method.

Reviewed-by: kvn, iignatyev
2014-04-16 14:49:03 -07:00
Thomas Schatzl
69c3c31317 8040002: Clean up code and code duplication in re-diryting cards for verification
Card re-dirtying code for verification and actual redirtying uses two different, almost completely identical card closures. Also the verification code still assumes a perm gen.

Reviewed-by: brutisso, jmasa
2014-04-16 16:47:02 +02:00
Thomas Schatzl
c5ef16027b 8019342: G1: High "Other" time most likely due to card redirtying
Parallelize card redirtying to decrease the time it takes.

Reviewed-by: brutisso
2014-04-16 16:46:58 +02:00
Thomas Schatzl
0f9e30ad06 8028710: G1 does not retire allocation buffers after reference processing work
G1 does not retire allocation buffers after reference processing work when -XX:+ParallelRefProcEnabled is enabled. This causes wrong calculation of PLAB sizes, as the amount of space wasted is not updated correctly.

Reviewed-by: brutisso
2014-04-16 11:05:37 +02:00
Thomas Schatzl
d9a4d02abe 8039596: Remove HeapRegionRemSet::clear_incoming_entry
The mentioned method is never used and out of date. So it is removed.

Reviewed-by: mgerdin, brutisso
2014-04-16 10:56:17 +02:00
Thomas Schatzl
42e4a6003c 8037344: Use the "next" field to iterate over fine remembered instead of using the hash table
After changes to the PerRegionTable where all these PRTs are linked together in an additional field, simplify iterating over all PRTs by using these links instead of walki

Reviewed-by: mgerdin, jwilhelm, brutisso
2014-04-16 10:55:58 +02:00
Thomas Schatzl
aa00878260 8027553: Change the in_cset_fast_test functionality to use the G1BiasedArray abstraction
Instead of using a manually managed array for the in_cset_fast_test array, use a G1BiasedArray instance.

Reviewed-by: brutisso, mgerdin
2014-04-16 10:55:26 +02:00
Thomas Schatzl
f8088df0b4 8038930: G1CodeRootSet::test fails with assert(_num_chunks_handed_out == 0) failed: No elements must have been handed out yet
The test incorrectly assumed that it had been started with no other previous compilation activity. Fix this by allowing multiple code root free chunk lists, and use one separate from the global one to perform the test.

Reviewed-by: brutisso
2014-04-16 10:14:50 +02:00
Alejandro Murillo
331d26800c Merge 2014-04-15 15:37:36 -07:00
Vladimir Kozlov
8badeecc2c 8039050: Crash in C2 compiler at Node::rematerialize
Added missing calls to record_for_igvn() in loop opts. Added verification of def-use domination.

Reviewed-by: iveresov
2014-04-15 14:34:48 -07:00
Stefan Karlsson
a97ce35fab 8039957: Replace the last few %p usages with PTR_FORMAT in the GC code
Reviewed-by: jwilhelm, sjohanss, jmasa
2014-04-15 20:46:23 +02:00
Christian Tornqvist
ff48970954 8035173: [TESTBUG] runtime/threads/CancellableThreadTest fails with OOM on windows-i586
Test ported to jtreg, thread pairs decreased from 1024 to 128 to avoid OOM on 32 bit Windows

Reviewed-by: sla, dsimms
2014-04-15 19:03:51 +02:00
Andrey Zakharov
bacf6d7233 8037925: CMM Testing: an allocated humongous object at the end of the heap should not prevents shrinking the heap
New test added.

Reviewed-by: ehelin, tschatzl, jwilhelm
2014-04-15 18:09:53 +02:00
Roland Westrelin
3a724605fc Merge 2014-04-15 02:27:34 -07:00
Filipp Zhinkin
17ad17c6ec 8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
Reviewed-by: kvn, iignatyev
2014-04-15 12:21:24 +04:00
Lois Foltan
8c36d0cd2b 8033150: invokestatic: IncompatibleClassChangeError trying to invoke static method from a parent in presence of conflicting defaults
A static method should be preferred during method resolution over an overpass, search the current class as well as its superclasses.

Reviewed-by: acorn, coleenp, kamg
2014-04-14 14:27:45 -04:00
Lois Foltan
5ca274e0ce 8038076: constraint on multianewarray instruction is not checked since class version 50
No VerifiyError generated if multianewarray bytecode's array type descriptor was 1 dimension smaller than dimensions specified.

Reviewed-by: hseigel, ctornqvi, coleenp, kamg
2014-04-14 10:13:03 -04:00
David Simms
d7f12e04aa 8039947: Dtrace return probe name for jni_SetStaticBooleanField named incorrectly
Reviewed-by: sla, dholmes, gtriantafill
2014-04-14 11:23:06 +02:00
Albert Noll
bce45e9222 Merge 2014-04-14 09:04:36 +00:00
Albert Noll
e2305182b5 8039425: Code cleanup: PhaseIterGVN::optimize()
This code cleanup aims at improving code readability.

Reviewed-by: kvn, roland
2014-04-14 10:57:07 +02:00
Peter Allwin
d048828d66 Merge 2014-04-14 10:43:04 +02:00
Erik Helin
9fc2b0affb Merge 2014-04-14 10:08:10 +02:00
Albert Noll
dc8b57fb57 Merge 2014-04-13 23:39:22 -07:00
Tobias Hartmann
e4fc75979e 8029436: CICompilerCount is not updated when the number of compiler threads is adjusted to the number of CPUs
CICompilerCount is updated in AdvancedThresholdPolicy::initialize, SimpleThresholdPolicy::initialize and NonTieredCompPolicy::initialize. A warning is printed if the usersets both, CICompilerCount and CICompilerCountPerCPU.

Reviewed-by: kvn, twisti
2014-04-14 08:24:28 +02:00
Coleen Phillimore
e72c0ba18f 8039904: dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated"
Dtrace monitoring uses size before mirror size is set.

Reviewed-by: kamg, hseigel
2014-04-11 20:02:37 +00:00
Bharadwaj Yadavalli
78e27e22f4 Merge 2014-04-11 15:08:40 -04:00
Alejandro Murillo
6133fe5bd0 Merge 2014-04-11 11:39:04 -07:00
J. Duke
87a0f4a044 Merge 2017-07-05 19:36:17 +02:00
J. Duke
5a5e1f03f7 Merge 2017-07-05 19:36:14 +02:00
J. Duke
d830ef349b Merge 2017-07-05 19:36:06 +02:00
J. Duke
489de1bf71 Merge 2017-07-05 19:36:00 +02:00
J. Duke
b17c6d889b Merge 2017-07-05 19:35:54 +02:00
J. Duke
05a9930add Merge 2017-07-05 19:35:47 +02:00
J. Duke
cdee6a09eb Merge 2017-07-05 19:35:40 +02:00
J. Duke
eb95b252c0 Merge 2017-07-05 19:35:16 +02:00
J. Duke
7a7a00379b Added tag jdk9-b07 for changeset c826d05f1fb0 2017-07-05 19:34:37 +02:00
J. Duke
e482a97181 Merge 2017-07-05 19:34:36 +02:00
J. Duke
f2be3e83f3 Merge 2017-07-05 19:34:33 +02:00
J. Duke
e1f6fea443 Merge 2017-07-05 19:34:30 +02:00
J. Duke
01388b6c2b Merge 2017-07-05 19:34:27 +02:00
J. Duke
5ccd5b499b Merge 2017-07-05 19:34:24 +02:00
J. Duke
64f1931c44 Merge 2017-07-05 19:34:21 +02:00
J. Duke
53851f6419 Merge 2017-07-05 19:34:18 +02:00