Commit Graph

1260 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Antonios Printezis
c157b744ed 6920977: G1: guarantee(k == probe->klass(),"klass should be in dictionary") fails
The guarantee is too strict and the test will fail (incorrectly) if the class is not in the system dictionary but in the placeholders.

Reviewed-by: acorn, phh
2010-02-05 11:05:50 -05:00
Andrei Pangin
134e70e53b Merge 2010-02-04 15:50:59 -08:00
Tom Rodriguez
22ce62f2d1 6921992: failure in verify scheduling after 6792161
Reviewed-by: kvn
2010-02-04 11:16:23 -08:00