78946 Commits

Author SHA1 Message Date
John Cuthbertson
154f0709bd 7020042: G1: Partially remove fix for 6994628
Disable reference discovery and processing during concurrent marking by disabling fix for 6994628.

Reviewed-by: tonyp, ysr
2011-02-18 10:07:34 -08:00
Antonios Printezis
f418b77aa6 7027766: G1: introduce flag to dump the liveness information per region at the end of marking
Repurpose the existing flag G1PrintRegionLivenessInfo to print out the liveness distribution across the regions in the heap at the end of marking.

Reviewed-by: iveresov, jwilhelm
2011-04-04 14:23:17 -04:00
Antonios Printezis
cec5c20656 7033292: G1: nightly failure: Non-dirty cards in region that should be dirty
The epochs on the card cache array are initialized to 0 and our initial epoch also starts at 0. So, until the first GC, it might be possible to successfully "claim" a card which was in fact never initialized.

Reviewed-by: johnc, iveresov, ysr
2011-04-04 13:18:35 -04:00
Antonios Printezis
3e9fe24ddd 7023069: G1: Introduce symmetric locking in the slow allocation path
7023151: G1: refactor the code that operates on _cur_alloc_region to be re-used for allocs by the GC threads
7018286: G1: humongous allocation attempts should take the GC locker into account

First, this change replaces the asymmetric locking scheme in the G1 slow alloc path by a summetric one. Second, it factors out the code that operates on _cur_alloc_region so that it can be re-used for allocations by the GC threads in the future.

Reviewed-by: stefank, brutisso, johnc
2011-03-30 10:26:59 -04:00
Antonios Printezis
349d820dd1 7029458: G1: Add newly-reclaimed regions to the beginning of the region free list, not the end
What the synopsis says.

Reviewed-by: jwilhelm, iveresov, johnc
2011-03-29 22:36:16 -04:00
John Cuthbertson
c2275649b7 7026932: G1: No need to abort VM when card count cache expansion fails
Manage allocation/freeing of the card cache counts and epochs arrays directly so that an allocation failure while attempting to expand these arrays does not abort the JVM. Failure to expand these arrays is not fatal.

Reviewed-by: iveresov, tonyp
2011-03-28 10:58:54 -07:00
Bengt Rutisson
4fd9f5071f 6948149: G1: Imbalance in termination times
Changed default value of WorkStealingYieldsBeforeSleep from 1000 to 5000. Added more information to G1 pause logging.

Reviewed-by: jwilhelm, tonyp, jmasa
2011-03-23 14:12:51 +01:00
John Coomes
9c0cc6b6d8 Merge 2011-03-25 17:39:20 -07:00
Y. Srinivas Ramakrishna
3e02204f5d 7029036: Card-table verification hangs with all framework collectors, except G1, even before the first GC
When verifying clean card ranges, use memory-range-bounded iteration over oops of objects overlapping that range, thus avoiding the otherwise quadratic worst-case cost of scanning large object arrays.

Reviewed-by: jmasa, jwilhelm, tonyp
2011-03-24 15:47:01 -07:00
Y. Srinivas Ramakrishna
4282af91a0 7030435: Some oop_oop_iterate_m() methods iterate outside of specified memory bounds
Filter ref-containing locations through the memory-interval specified in the call.

Reviewed-by: jcoomes, jwilhelm, tonyp
2011-03-24 15:45:27 -07:00
Phil Race
7b9e1ea0d5 7017637: closed/java/awt/font/StyledMetrics/BoldSpace.java failed : Space char should have 0 advance
Reviewed-by: igor, jgodinez
2011-02-18 09:18:32 -08:00
Phil Race
e640a52207 6857592: Getting warning while moving or resizing the frame when component.printAll() is called on local JNI
Reviewed-by: bae, flar
2011-02-18 09:14:07 -08:00
Pavel Porvatov
e70749d90d 6997102: Test case has hard code, so that applet thread threw exception
Reviewed-by: alexp
2011-02-18 20:09:35 +03:00
Alexander Potochkin
5ddedf5391 6474153: LookAndFeel.makeKeyBindings(...) doesn't ignore last element in keyBindingList with odd size
Reviewed-by: rupashka
2011-02-18 19:21:57 +03:00
Maurizio Cimadamore
0f41147166 7020626: diamond: add diagnostic test for diamond and non-generic classes
Fix failure in regression test CheckExamples

Reviewed-by: jjg
2011-02-18 16:17:44 +00:00
Kumar Srinivasan
3b676c4925 7018859: javac turn off the Zip optimization by default
Reviewed-by: jjg
2011-02-18 08:12:06 -08:00
Chris Hegarty
bbcb5e8be3 7013969: NetworkInterface.toString can reveal bindings
Reviewed-by: alanb, michaelm, hawtin
2011-02-18 13:31:57 +00:00
Maurizio Cimadamore
7d8c3e9460 7020043: Project Coin: diamond allowed on non-generic type
Diamond oerator should be disallowed on non-generic class types (i.e. String)

Reviewed-by: jjg
2011-02-18 12:28:49 +00:00
Alex Menkov
ba7c4a35c3 7000132: Misplaced description in javax.sound.sampled.AudioSystem.getTargetDataLine
Reviewed-by: dav
2011-02-18 13:27:29 +03:00
Alex Menkov
5e361485c1 6801236: test closed/javax/sound/sampled/FileWriter/WaveBigEndian.java fails
Reviewed-by: alexp
2011-02-18 13:21:49 +03:00
Athijegannathan Sundararajan
437b0f5f71 7018459: javax.script code comments have issues with HTML4 validation and Accessibility compliance
Reviewed-by: jjh
2011-02-18 12:07:46 +05:30
Pavel Porvatov
daf9610616 7016693: javax/swing/JScrollBar/6542335/bug6542335.java failed on Ubuntu
Reviewed-by: alexp
2011-02-18 00:16:53 +03:00
Alan Bateman
d1cf52c16a Merge 2011-02-17 20:53:26 +00:00
Alan Bateman
9aa277a541 6526860: (fc) FileChannel.position returns 0 when FileOutputStream opened in append mode
Reviewed-by: forax
2011-02-17 20:50:22 +00:00
Andrew Brygin
f1c2d419cb 7018912: [parfait] potential buffer overruns in imageio jpeg
Reviewed-by: jgodinez, prr
2011-02-17 13:42:26 +03:00
Chris Hegarty
e5d4746fb4 7017901: OOME in java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
Unbounded queues should be disabled in the test

Reviewed-by: alanb
2011-02-17 09:56:38 +00:00
Andrew Brygin
0c700cc07d 7013519: [parfait] Integer overflows in 2D code
Reviewed-by: prr, valeriep
2011-02-17 12:21:49 +03:00
Stuart Marks
313991183b 7018392: update URLJarFile.java to use try-with-resources
Reviewed-by: alanb, chegar, hawtin
2011-02-16 18:22:52 -08:00
Erik Trimble
8e3541f4fa Merge 2011-02-16 17:26:20 -08:00
Keith McGuigan
c2ea25db39 7019718: make error reporting flags product instead of diagnostic
See synopsis

Reviewed-by: acorn, coleenp
2011-02-16 16:58:24 -08:00
Coleen Phillimore
5cef1a1a84 Merge 2011-02-16 16:25:57 -08:00
Phil Race
daf8e751d4 7019441: No lookup cache for internal composite font creation leads to java heap growth
Reviewed-by: igor, jgodinez
2011-02-16 15:58:28 -08:00
Kelly O'Hair
527e2fedcd 7010594: Add /SAFESEH to links on windows to verify safe exceptions
Reviewed-by: alanb
2011-02-16 14:33:48 -08:00
Volker Simonis
5e83438315 7019689: Non-dependent name is found in dependent base class although it should be rejected
Fix hashtable.hpp to qualify non-dependant name with "this"

Reviewed-by: phh, never, poonam
2011-02-16 17:12:31 -05:00
Kelly O'Hair
cff49a9152 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:30:31 -08:00
Kelly O'Hair
c378d70f33 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:30:12 -08:00
Kelly O'Hair
246c483c58 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:58 -08:00
Kelly O'Hair
2ae751c338 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:48 -08:00
Kelly O'Hair
4d9392390f 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:39 -08:00
Kelly O'Hair
5c3ac3b6f6 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:20 -08:00
Kelly O'Hair
932f3af0eb 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:01 -08:00
Xueming Shen
2c97d8fb44 6999337: java.exe fails to start if some directory names in path to java binaries contain Russian characters
Updated to make sure the system properties are accessable by vm during initialization

Reviewed-by: alanb, mchung
2011-02-16 11:11:31 -08:00
Dan Smith
f1181c706c 6990136: Cleanup use of Type.clone()
Introduced factory methods in class Types which can be used rather than clone().

Reviewed-by: jjg, mcimadamore
2011-02-16 10:27:00 -08:00
Coleen Phillimore
9c5679fe53 6840152: JVM crashes when heavyweight monitors are used
Turn off biased locking if !UseFastLocking or UseHeavyMonitors options are requested.

Reviewed-by: phh, never, dcubed, dholmes
2011-02-16 11:34:44 -05:00
Sergey Malenkov
9c787663dc 6980124: closed/javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java fails
Reviewed-by: alexp
2011-02-16 18:32:06 +03:00
Chris Hegarty
560ab81595 6562203: Thread doesn't terminate immediately if it was stopped before start
Reviewed-by: dholmes, alanb
2011-02-16 12:38:13 +00:00
Masayoshi Okutsu
0bfde7d243 6936350: API clarification needed on useDaylightTime() for timezones that have defined usage dates
Reviewed-by: peytoia
2011-02-16 16:51:21 +09:00
David Holmes
89f51d79cc Merge 2011-02-16 01:42:00 -05:00
Kelly O'Hair
5e7327e608 Merge 2011-02-15 20:18:20 -08:00
Igor Nekrestyanov
c4c3bd2b78 Merge 2011-02-15 19:16:39 -08:00