Erik Trimble
37ecae8f2c
Merge
2010-03-18 16:06:00 -07:00
Tom Rodriguez
67c094c4c7
6926979: should simplify catch_inline_exception
...
Reviewed-by: twisti
2010-03-18 14:31:41 -07:00
Michael Wilkerson
fde6152215
Added tag jdk7-b86 for changeset 16a26e16c83f
2010-03-18 13:52:49 -07:00
Andrew Haley
87f44737a8
6936168: Recent fix for unmapping stack guard pages doesn't close /proc/self/maps
...
Add close to returns (fix for 6929067 also contributed by aph)
Co-authored-by: Andreas Kohn <andreas.kohn@fredhopper.com>
Reviewed-by: aph, dcubed, andrew, acorn
2010-03-18 16:47:37 -04: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
Vladimir Kozlov
72a7a6ffcf
6935535: String.indexOf() returns incorrect result on x86 with SSE4.2
...
Added missing counter decrement when substring search restarted.
Reviewed-by: twisti
2010-03-17 10:47:03 -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
Daniel D. Daugherty
d713517a21
Merge
2010-03-16 20:47:17 -07:00
Daniel D. Daugherty
13296056f0
6923488: 4/4 need minor tweaks to HotSpot build for Cygwin
...
Clean up get_msc_ver, build.bat and build.make in general and for Cygwin.
Reviewed-by: ohair
2010-03-16 17:47:03 -06: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
Gary Benson
dae3356905
6934089: Zero 32-bit/64kb page fix
...
The fix for 6927165 increased the number of shadow pages for 32-bit platforms and this causes a problem on systems with 64kb pages.
Reviewed-by: twisti
2010-03-11 05:09:20 -08: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
Erik Trimble
dbcabb71d7
Added tag hs17-b10 for changeset bd3cc6d99492
2010-03-08 15:50:52 -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
8f6df4c4af
Merge
2010-03-09 23:57:36 -08: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
Andrew Haley
11051a4e6a
6932270: Allow Java's ELF symtab reader to use separate debuginfo files
...
Reviewed-by: never
2010-03-09 11:02:39 -08:00
Christian Thalinger
94a808f51d
6932536: JSR 292 modified JDK MethodHandlesTest fails on x86_64
...
A modified MethodHandlesTest revealed two bugs on x86_64.
Reviewed-by: never, jrose
2010-03-08 04:46:30 -08:00
Michael Wilkerson
d1d696c305
Added tag jdk7-b85 for changeset 448969041d3d
2010-03-04 13:50:13 -08: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
Antonios Printezis
77b2dfce1d
6928073: G1: use existing command line parameters for marking cycle initiation
...
Replace the combination of the G1SteadyStateUsed / G1SteadyStateUsedDelta parameteres to decide the marking initiation threshold and instead use InitiatingHeapOccupancyPercent.
Reviewed-by: ysr, johnc
2010-02-23 23:14:34 -05:00
Antonios Printezis
b5c83abcd4
6928059: G1: command line parameter renaming
...
Rename G1 parameters to make them more consistent.
Reviewed-by: jmasa, johnc
2010-02-23 23:13:23 -05:00
Christian Thalinger
d1a6f819e6
6928839: JSR 292 typo in x86 _adapter_check_cast
...
There is a small typo in methodHandles_x86.cpp.
Reviewed-by: kvn
2010-02-23 17:46:29 +01:00
Vladimir Kozlov
e599f6c927
6928717: HS17 fails to build with SS11 C++
...
Add missing handles.inline.hpp for codeCache.cpp.
Reviewed-by: never
2010-02-22 16:56:49 -08:00
Tom Rodriguez
fbd5ca617d
6927049: assert(is_Loop(),"invalid node class")
...
Reviewed-by: kvn
2010-02-19 13:06:11 -08:00
Vladimir Kozlov
fa2d360cd5
6910664: C2: java/util/Arrays/Sorting.java fails with DeoptimizeALot flag
...
Matcher::float_in_double should be true only when FPU is used for floats.
Reviewed-by: never, twisti
2010-02-19 10:04:16 -08:00
Erik Trimble
fbd3f3a787
6927886: Bump the HS17 build number to 10
...
Update the HS17 build number to 10
Reviewed-by: jcoomes
2010-02-18 22:16:12 -08:00
Erik Trimble
1fc852832b
Merge
2010-02-18 22:15:35 -08:00
Tom Rodriguez
3e1688a8cd
6663854: assert(n != __null,"Bad immediate dominator info.") in C2 with -Xcomp
...
Reviewed-by: kvn
2010-02-18 15:05:10 -08:00
Michael Wilkerson
85b4073f99
Added tag jdk7-b84 for changeset 31557f5428d0
2010-02-18 13:31:31 -08:00
Christian Thalinger
c3066e0605
Merge
2010-02-18 10:44:14 -08:00
Gary Benson
51b9396b40
6927165: Zero S/390 fixes
...
Fixes two failures on 31-bit S/390.
Reviewed-by: twisti
2010-02-18 06:54:48 -08:00
Christian Thalinger
0c605ed991
6926782: CodeBuffer size too small after 6921352
...
After 6921352 the CodeBuffer size was too small.
Reviewed-by: kvn, never
2010-02-18 11:35:41 +01:00
Tom Rodriguez
51fc36cc9a
6877221: Endless deoptimizations in OSR nmethod
...
Reviewed-by: kvn
2010-02-16 20:07:48 -08:00
Vladimir Kozlov
892336beb1
6926697: "optimized" VM build failed: The type "AdapterHandlerTableIterator" is incomplete
...
Define AdapterHandlerTableIterator class as non product instead of debug.
Reviewed-by: never
2010-02-16 16:17:46 -08:00
John Cuthbertson
e475437c5a
Merge
2010-02-16 14:11:44 -08:00
Vladimir Kozlov
9110d86267
Merge
2010-02-12 15:27:36 -08:00
Michael Wilkerson
d3c21e471a
Added tag jdk7-b83 for changeset 36d525db29a0
2010-02-12 13:25:08 -08:00
Gary Benson
17a0e10b07
6926048: Improve Zero performance
...
Make Zero figure out result types in a similar way to C++ interpreter implementation.
Reviewed-by: kvn
2010-02-12 10:34:11 -08:00
Vladimir Kozlov
d4437819bd
6925249: assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(),"bad tos")
...
Fix assert since top deoptimized frame has last_sp == interpreter_frame_monitor_begin if there are no expressions.
Reviewed-by: twisti
2010-02-12 08:54:13 -08:00
Erik Trimble
394f79f57d
Added tag hs15-b05 for changeset c77d20908054
2010-02-11 20:37:05 -08:00
Erik Trimble
e2d51faf01
Added tag hs15-b04 for changeset 0ea2576e714b
2010-02-11 20:37:03 -08:00
Erik Trimble
a4f8dd6290
Added tag hs15-b03 for changeset c5c3e5f4accc
2010-02-11 20:37:01 -08:00
Erik Trimble
a4ec1f8d33
Added tag hs15-b02 for changeset ccfb5ba09cb6
2010-02-11 20:36:59 -08:00
Erik Trimble
7a355435d6
Added tag hs15-b01 for changeset a128eac78670
2010-02-11 20:36:57 -08:00
Erik Trimble
01e49c956d
Added tag hs16-b08 for changeset d716bbc29dcc
2010-02-11 20:11:47 -08:00
Erik Trimble
25c80d5c0c
Added tag hs16-b07 for changeset 699915c095af
2010-02-11 20:11:45 -08:00
Erik Trimble
246dccdcea
Added tag hs16-b06 for changeset 60611616dba4
2010-02-11 20:11:44 -08:00
Erik Trimble
ea13d3eda9
Added tag hs16-b05 for changeset 06171649948f
2010-02-11 20:11:42 -08:00
Erik Trimble
f2daf5d174
Added tag hs16-b04 for changeset 28ccf5edf0ec
2010-02-11 20:11:40 -08:00
Erik Trimble
59829da36c
Added tag hs16-b03 for changeset 10154d4b4b4b
2010-02-11 20:11:38 -08:00
Erik Trimble
8660022372
Added tag hs16-b02 for changeset 86c4409e49f6
2010-02-11 20:11:37 -08:00
Erik Trimble
54083a72cb
Added tag hs16-b01 for changeset 1ecc4413e7e7
2010-02-11 20:11:35 -08:00
Erik Trimble
db5d24ec8b
Added tag hs17-b09 for changeset 246521c00249
2010-02-11 19:53:02 -08:00
Erik Trimble
7fc922d19f
Added tag hs17-b08 for changeset 4197a09e1259
2010-02-11 19:53:01 -08:00
Erik Trimble
4b3a1713bd
Added tag hs17-b07 for changeset 8f15a8afca28
2010-02-11 19:53:00 -08:00
Erik Trimble
d4d720b74c
Added tag hs17-b06 for changeset 9b63533d5895
2010-02-11 19:52:59 -08:00
Erik Trimble
e8b9c40477
Added tag hs17-b05 for changeset 02d36709a16f
2010-02-11 19:52:58 -08:00
Erik Trimble
7eacf2d5f6
Added tag hs17-b04 for changeset ac997bc87110
2010-02-11 19:52:57 -08:00
Erik Trimble
e3d5b796ea
Added tag hs17-b03 for changeset b95ea007fe67
2010-02-11 19:52:56 -08:00
Erik Trimble
222701d515
Added tag hs17-b02 for changeset 2248859f89d4
2010-02-11 19:52:55 -08:00
Erik Trimble
0c7a5610f8
Added tag hs17-b01 for changeset 0fa11a27fb57
2010-02-11 19:52:39 -08:00
Igor Veresov
52b92d5593
6923991: G1: improve scalability of RSet scanning
...
Implemented block-based work stealing. Moved copying during the rset scanning phase to the main copying phase. Made the size of rset table depend on the region size.
Reviewed-by: apetrusenko, tonyp
2010-02-11 15:52:19 -08:00
Andrei Pangin
291a66ad2f
Merge
2010-02-11 10:48:10 -08:00
John Cuthbertson
0356567ed8
6782663: Data produced by PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime is not accurate
...
Update and display the timers associated with these flags for all safepoints.
Reviewed-by: ysr, jcoomes
2010-02-09 13:56:09 -08:00
Vladimir Kozlov
1a1e145498
6924097: assert((_type == Type::MEMORY) == (_adr_type != 0),"adr_type for memory phis only")
...
Use PhiNode::make_blank(r, n) method to construct the phi.
Reviewed-by: never
2010-02-09 10:21:06 -08:00
Vladimir Kozlov
22409a5704
6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
...
Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization.
Reviewed-by: never
2010-02-09 01:31:13 -08:00
Vladimir Kozlov
3f7a94c3f2
6910605: C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used
...
Set the reexecute bit for runtime calls _new_array_Java when they used for _multianewarray bytecode.
Reviewed-by: never
2010-02-08 12:20:09 -08:00
Antonios Printezis
a88853347f
6802453: G1: hr()->is_in_reserved(from),"Precondition."
...
The operations of re-using a RSet component and expanding the same RSet component were not mutually exlusive, and this could lead to RSets getting corrupted and entries being dropped.
Reviewed-by: iveresov, johnc
2010-02-08 14:23:01 -05:00
Neo Jia
7d7887d46c
6587322: dtrace probe object__alloc doesn't fire in some situations on amd64
...
Fix misplaced probe point
Reviewed-by: rasbold, phh
2010-02-08 13:49:03 -05:00
John Cuthbertson
e003616106
Merge
2010-02-08 09:58:32 -08:00
Vladimir Kozlov
2fd8d35905
6923002: assert(false,"this call site should not be polymorphic")
...
Clear the total count when a receiver information is cleared.
Reviewed-by: never, jrose
2010-02-07 12:15:06 -08:00
Erik Trimble
e266002e2d
Merge
2010-02-05 16:21:06 -08:00
Erik Trimble
94ccfa4187
6921473: Bump the HS17 build number to 09
...
Update the HS17 build number to 09
Reviewed-by: jcoomes
2010-02-05 12:27:12 -08:00
Erik Trimble
7c54f15bde
Merge
2010-02-05 12:26:35 -08:00
Tom Rodriguez
c1be36be1b
6920293: OptimizeStringConcat causing core dumps
...
Reviewed-by: kvn, twisti
2010-02-05 11:07:40 -08:00