Commit Graph

4821 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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