Vladimir Kozlov
d72f8abedf
6937111: Restore optimization for Phi of AddP (6552204)
...
Restored the original code which was removed by the fix for 6614100.
Reviewed-by: never
2010-04-05 10:17:15 -07:00
Antonios Printezis
2e3363d109
6940310: G1: MT-unsafe calls to CM::region_stack_push() / CM::region_stack_pop()
...
Calling the methods region_stack_push() and region_stack_pop() concurrent is not MT-safe. The assumption is that we will only call region_stack_push() during a GC pause and region_stack_pop() during marking. Unfortunately, we also call region_stack_push() during marking which seems to be introducing subtle marking failures. This change introduces lock-based methods for pushing / popping to be called during marking.
Reviewed-by: iveresov, johnc
2010-04-05 12:19:22 -04:00
John Coomes
bd4179633a
Merge
2010-04-02 17:04:09 -07:00
Vladimir Kozlov
6f0a3e4a80
Merge
2010-04-02 15:55:04 -07:00
Vladimir Kozlov
8e1f408216
6939804: ciConstant::print() prints incorrect bool value
...
Fix typo.
Reviewed-by: never
2010-04-02 11:55:00 -07:00
Antonios Printezis
9545c0521e
6677708: G1: re-enable parallel RSet updating and scanning
...
Enable parallel RSet updating and scanning.
Reviewed-by: iveresov, jmasa
2010-04-02 12:10:08 -04:00
Tom Rodriguez
7a9a877131
6936709: AsyncGetCallTrace doesn't handle inexact stack walking properly
...
Reviewed-by: kvn
2010-04-01 16:06:57 -07:00
Karen Kinnear
1271375647
Merge
2010-04-01 11:23:01 -04:00
Coleen Phillimore
47cda47c42
6938627: Make temporary directory use property java.io.tmpdir when specified
...
Get java.io.tmpdir property in os::get_temp_directory() and call this instead of harcoding "/tmp". Don't assume trailing file_separator either.
Reviewed-by: dholmes, kamg
2010-03-31 16:51:18 -07:00
Edward Nevill
8a72fb502e
6939845: zero needs fallback path in C++ interpreter for platform dependent fast bytecodes
...
Reviewed-by: never
2010-03-31 11:54:03 -07:00
Antonios Printezis
9b4fc8fc23
6937142: G1: improvements to debugging output (S-M)
...
Various fixes to the G1 debugging output.
Reviewed-by: johnc, iveresov
2010-03-30 15:43:03 -04:00
Jon Masamitsu
f5197d0d36
6858496: Clear all SoftReferences before an out-of-memory due to GC overhead limit
...
Ensure a full GC that clears SoftReferences before throwing an out-of-memory
Reviewed-by: ysr, jcoomes
2010-04-13 13:52:10 -07:00
Antonios Printezis
972acdab81
6937160: G1: should observe GCTimeRatio
...
Remove the G1GCPercent parameter, that specifies the desired GC overhead percentage in G1, and observe the GCTimeRatio parameter instead.
Reviewed-by: jmasa, johnc
2010-03-30 15:36:55 -04:00
Karen Kinnear
7aaaad73cf
Merge
2010-03-26 11:10:26 -04:00
Abhijit Saha
845f11dd17
Merge
2010-03-24 17:16:33 -07:00
Daniel D. Daugherty
6fb483993a
Merge
2010-03-23 17:29:13 -07:00
Daniel D. Daugherty
30e02ce948
6915365: 3/4 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540
...
Remove assert to decouple JDK and HotSpot additions of known types.
Reviewed-by: mchung
2010-03-23 14:37:18 -07:00
Andrey Petrusenko
531591c2b9
Merge
2010-03-22 02:40:53 -07:00
Tom Rodriguez
67c094c4c7
6926979: should simplify catch_inline_exception
...
Reviewed-by: twisti
2010-03-18 14:31:41 -07:00
John Coomes
aa951c36cb
6935839: excessive marking stack growth during full gcs
...
Process one item at a time from the objarray stack/queue
Reviewed-by: apetrusenko, tonyp
2010-03-18 13:31:51 -07:00
Antonios Printezis
35f23f97b0
6935821: G1: threads created during marking do not active their SATB queues
...
Newly-created threads always had the active field of their SATB queue initialized to false, even if they were created during marking. As a result, updates from threads created during a marking cycle were never enqueued and never processed. The fix includes remaining a method from active() to is_active() for readability and naming consistency.
Reviewed-by: ysr, johnc
2010-03-18 12:14:59 -04:00
Christian Thalinger
beb119b36b
Merge
2010-03-18 06:36:43 -07:00
Christian Thalinger
1270c6c005
6932091: JSR 292 x86 code cleanup
...
Some code cleanups found during the JSR 292 SPARC port.
Reviewed-by: kvn, never
2010-03-18 09:56:51 +01:00
Andrey Petrusenko
2fa0d00635
6921710: G1: assert(new_finger >= _finger && new_finger < _region_limit,"invariant")
...
If CM task was aborted while scanning the last object of the specified region and the size of that object is equal to bitmap's granularity then the next offset would be equal or over the region limit which is exactly what the assertion states.
Reviewed-by: ysr, tonyp, jmasa
2010-03-18 01:48:28 -07:00
Tom Rodriguez
dac78c30b9
6930043: C2: SIGSEGV in javasoft.sqe.tests.lang.arr017.arr01702.arr01702.loop_forw(II)I
...
Reviewed-by: kvn
2010-03-17 16:40:25 -07:00
Frederic Parain
2450ae35a1
6935224: Adding new DTrace probes to work with Palantir
...
Adding probes related to thread scheduling and class initialization
Reviewed-by: kamg, never
2010-03-17 11:01:05 +01:00
Christian Thalinger
ebc298d208
6934966: JSR 292 add C1 logic for saved SP over MethodHandle calls
...
The logic for x86 C1 to save the SP over MH calls is pretty straight forward but SPARC handles that differently.
Reviewed-by: never, jrose
2010-03-17 10:22:41 +01:00
Vladimir Kozlov
e8191b6730
6935466: new CodeCache flushing code is not guarded by the flag
...
Add missing guard.
Reviewed-by: never
2010-03-16 15:35:33 -07:00
Christian Thalinger
82e9e2b4af
6934494: JSR 292 MethodHandles adapters should be generated into their own CodeBlob
...
Passing a null pointer to an InvokeDynamic function call should lead to a NullPointerException.
Reviewed-by: kvn, never
2010-03-16 11:52:17 +01:00
Karen Kinnear
d8ec453382
6932480: Fix crash in CompilerThread/Parser. Unloaded array klass?
...
Restore code deleted in 6626217
Reviewed-by: asaha, kevinw
2010-03-15 15:51:36 -04:00
Xiaobin Lu
09f8dd45d1
6934758: Expose the break down of clean up task time during safepoint
...
Use -XX:+TraceSafepointCleanupTime to print out the details of each clean up tasks.
Reviewed-by: dholmes, ysr
2010-03-13 16:32:49 -08:00
Coleen Phillimore
053d7adeb2
6929067: Stack guard pages should be removed when thread is detached
...
Add code to unmap stack guard area when thread is detached.
Reviewed-by: coleenp, kamg
2010-03-12 10:42:16 -05:00
John Cuthbertson
e9f77f7ec1
6755988: G1: assert(new_obj != 0 || ... "should be forwarded")
...
A TLAB became large enough to be considered a humongous object allowing multiple objects to be allocated in a humongous region, which violates a basic assumption about humongous regions. The changes ensure that TLABs cannot be regarded as humongous.
Reviewed-by: iveresov, tonyp
2010-03-11 11:44:43 -08:00
Andrey Petrusenko
5e42804119
Merge
2010-03-15 02:56:45 -07:00
Karen Kinnear
8d1747bc4b
Merge
2010-03-11 14:41:29 -05:00
Xiaobin Lu
8742fc8e62
6933402: RFE: Improve PrintSafepointStatistics output to track cleanup time
...
Improve the usability of safepoint statistics data. See bug evaluation for more details.
Reviewed-by: ysr, dholmes
2010-03-10 21:42:26 -08:00
Roland Westrelin
7dcf59914e
6932496: c1: deoptimization of jsr subroutine fails on sparcv9
...
Store jsr ret bci as intptr constant in c1 debug info
Reviewed-by: never
2010-03-05 13:58:34 +01:00
Christian Thalinger
ffec4c00c4
6919934: JSR 292 needs to support x86 C1
...
This implements JSR 292 support for C1 x86.
Reviewed-by: never, jrose, kvn
2010-03-09 20:16:19 +01:00
John Coomes
4f82340476
4396719: Mark Sweep stack overflow on deeply nested Object arrays
...
Use an explicit stack for object arrays and process them in chunks.
Reviewed-by: iveresov, apetrusenko
2010-03-03 14:48:26 -08:00
Jon Masamitsu
5fdec09798
6910182: CMS: assert(_cursor[j] == _survivor_plab_array[j].end(),"Ctl pt invariant")
...
Calculation of the slicing of survivor spaces for MT was incorrect.
Reviewed-by: ysr
2010-03-03 08:10:41 -08:00
John Cuthbertson
a9c71d9169
Merge
2010-03-02 13:59:37 -08:00
John Cuthbertson
76881615ca
Merge
2010-03-02 13:57:46 -08:00
Coleen Phillimore
13ac3be829
6914050: jvm assertion "guard pages must be in use" in -Xcomp mode
...
Move creating stack guard pages in jni attach thread before potential java call rather than after. Also cleanup stack guard pages when jni attach fails
Reviewed-by: never, dholmes
2010-03-02 12:09:40 -08:00
Tom Rodriguez
e904069b51
6930398: fix for return address locals in OSR entries uses wrong test
...
Reviewed-by: kvn
2010-03-01 12:12:35 -08:00
Paul Hohensee
cef423370c
6923123: Hotspot refuses to start when -Xmx4m or -Xms4m is specified
...
Reduce NewSize from 4m to 1m.
Reviewed-by: tonyp, jmasa
2010-02-26 16:40:55 -05:00
Vladimir Kozlov
667e7ff0c0
6930116: loop predication code does not handle If nodes with only one projection
...
Add check for iff->outcnt() < 2.
Reviewed-by: never
2010-02-25 22:58:43 -08:00
Vladimir Kozlov
8554996b9b
6930035: C2 type system incorrectly handles case j.l.Object->meet(constant AryPtr)
...
Add missing code.
Reviewed-by: never
2010-02-25 15:55:47 -08:00
Tom Rodriguez
0ab4fb9e37
6915557: assert(_gvn.type(l)->higher_equal(type),"must constrain OSR typestate") with debug build
...
Reviewed-by: kvn
2010-02-25 11:38:50 -08:00
Antonios Printezis
1eb12e87a7
6928065: G1: use existing command line parameters to set the young generation size
...
See synopsis
Reviewed-by: johnc, jmasa
2010-02-24 14:56:20 -05:00
Jon Masamitsu
f254745228
6928081: G1: rename parameters common with CMS
...
Rename marking stack sizing flags to be common between G1 and CMS
Reviewed-by: ysr, tonyp
2010-02-24 07:00:33 -08:00