2680 Commits

Author SHA1 Message Date
Jon Masamitsu
00502cdd51 Merge 2012-07-16 13:00:26 -07:00
Dean Long
62ce00b4ca 7147464: Java crashed while executing method with over 8k of dneg operations
Replace recursive method with iterative

Reviewed-by: kvn, twisti
2012-07-16 15:31:18 -04:00
Christian Thalinger
19ea8f720f 7087357: JSR 292: remove obsolete code after 7085860
Reviewed-by: kvn, never
2012-07-16 11:14:41 -07:00
Zhengyu Gu
196abe2523 7181986: NMT ON: Assertion failure when running jdi ExpiredRequestDeletionTest
Changed _query_lock to heap object from static object. Also fixed _query_lock and snapshot lock ranks, so they can participate deadlock detection.

Reviewed-by: coleenp, dholmes, kvn
2012-07-16 14:10:34 -04:00
Vladimir Kozlov
27e9d6f36d 7123926: Some CTW test crash: !_control.contains(ctrl)
Don't eliminate Integer::toString() call node during String concatenation optimization if it has several uses.

Reviewed-by: twisti
2012-07-13 17:48:26 -07:00
Jiangli Zhou
7b82f72ba9 Merge 2012-07-13 20:14:27 -04:00
Vladimir Kozlov
59bb4ea7cc Merge 2012-07-12 14:19:15 -07:00
Coleen Phillimore
5579942e7a Merge 2012-07-12 14:26:25 -04:00
Michael Haupt
e0cf9c652d 6711908: JVM needs direct access to some annotations
Add annotation extraction code to class file parser.

Reviewed-by: twisti, jrose, kvn
2012-07-12 00:39:53 -07:00
Vlaidmir Ivanov
e2fc7f742c 7181658: CTW: assert(t->meet(t0) == t) failed: Not monotonic
Use uncast node equivalence checks in CmpUNode::sub.

Reviewed-by: kvn, twisti
2012-07-11 14:50:30 -07:00
Bengt Rutisson
3571ee23dc 7178361: G1: Make sure that PrintGC and PrintGCDetails use the same timing for the GC pause
Also reviewed by: vitalyd@gmail.com. Move the timing out of G1CollectorPolicy into the G1GCPhaseTimes class

Reviewed-by: johnc
2012-07-11 22:47:38 +02:00
Frederic Parain
13c689d9c3 6294277: java -Xdebug crashes on SourceDebugExtension attribute larger than 64K
Reviewed-by: sspitsyn, dholmes, coleenp, kamg
2012-07-09 01:28:37 -07:00
Jiangli Zhou
494465e698 7181632: nsk classLoad001_14 failure and CompileTheWorld crash after 7178145
Need to copy the inlined exception table to the new constMethodOop during method rewriting.

Reviewed-by: coleenp, dholmes
2012-07-05 20:54:45 -04:00
Jiangli Zhou
e13a29b3f2 7180914: Compilation warning after: 7172967: Eliminate the constMethod's _method backpointer to the methodOop
Use read_pointer(J...) to access from 'constMethod' base in name_for_methodOop(), libjvm_db.c.

Reviewed-by: kvn, coleenp
2012-07-05 18:47:41 -04:00
Coleen Phillimore
559278381b 7181200: JVM new hashing code breaks SA in product mode
Made new_hash() overloaded rather than a virtual function so SA code doesn't need to be changed.

Reviewed-by: kvn, acorn, dholmes, fparain
2012-07-04 15:55:45 -04:00
Mikael Vidstedt
af253d110d 7129724: MAC: Core file location is wrong in crash report
Updated core path location to reflect macosx default

Reviewed-by: dholmes, kamg
2012-07-03 17:35:00 -07:00
Chris Dennis
d1080de4ee 7179383: MaxDirectMemorySize argument parsing is broken for values >2G
Change hotspot flag to be unsigned

Reviewed-by: dholmes, sla, fparain, brutisso
2012-07-03 01:41:29 -04:00
Vladimir Kozlov
761e0b221d 7180769: assert(tboth->klass_is_exact()) failed: klass should be exact
Use class exactness as part of the condition for class compare optimization instead of assert.

Reviewed-by: twisti, roland
2012-07-02 12:59:43 -07:00
Coleen Phillimore
135f315eaa Merge 2012-07-02 13:11:28 -04:00
Keith McGuigan
4d512adc5e 7167142: Consider a warning when finding a .hotspotrc or .hotspot_compiler file that isn't used
Send warnings to output stream

Reviewed-by: dholmes, fparain
2012-07-02 10:54:17 -04:00
Bertrand Delsart
37d969c6ab Merge 2012-07-02 04:19:22 -04:00
Roland Westrelin
3511594d3c 7177917: Failed test java/lang/Math/PowTests.java
When c2 intrinsifies pow/exp, it should never inline the java implementations.

Reviewed-by: kvn
2012-07-02 09:58:06 +02:00
Alejandro Murillo
fad2bafa7b Merge 2012-06-29 17:04:39 -07:00
John Coomes
ddf7a57a61 Merge 2012-06-29 11:15:38 -07:00
Zhengyu Gu
a39b17624a 6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking

Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd

Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Vladimir Kozlov
3a84f5407b Merge 2012-06-28 10:35:28 -07:00
Staffan Larsen
39dfe6d047 7178703: Fix handling of quoted arguments and better error messages in dcmd
Reviewed-by: coleenp, mgronlun, rbackman
2012-06-28 11:37:28 +02:00
Bertrand Delsart
cf61f29f61 Merge 2012-06-28 04:21:07 -04:00
Jiangli Zhou
56df3bd48d 7178145: Change constMethodOop::_exception_table to optionally inlined u2 table
Change constMethodOop::_exception_table to optionally inlined u2 table.

Reviewed-by: bdelsart, coleenp, kamg
2012-06-26 19:08:44 -04:00
Lana Steuck
b126348850 Merge 2012-06-26 10:27:11 -07:00
Vladimir Kozlov
8c4cefaa96 7179138: Incorrect result with String concatenation optimization
Check for and skip diamond shaped NULL check code for the result of toString()

Reviewed-by: twisti, roland
2012-06-26 09:06:16 -07:00
Coleen Phillimore
e53644ef78 Merge 2012-06-25 18:59:52 -07:00
Coleen Phillimore
dc5fe663cb 7178670: runtime/7158800/BadUtf8.java fails in SymbolTable::rehash_table
Cannot delete _buckets and HashtableEntries in shared space (CDS)

Reviewed-by: acorn, kvn, dlong, dcubed, kamg
2012-06-25 21:33:35 -04:00
Thomas Schatzl
79ee0ab0c2 6921087: G1: remove per-GC-thread expansion tables from the fine-grain remembered sets
Remove the per-thread expansion tables (PosParPRT) and associated expansion and compaction from the fine grain RSet entries. This code has been unused for a while.

Reviewed-by: johnc, brutisso
2012-06-25 16:00:55 -07:00
Staffan Larsen
4ea5b30610 7178846: IterateThroughHeap: heap_iteration_callback passes a negative size
Missing cast caused integer overflow

Reviewed-by: rbackman, dholmes
2012-06-25 14:34:35 +02:00
Jiangli Zhou
1a35ed23d9 7177409: Perf regression in JVM_GetClassDeclaredFields after generic signature changes
In fieldDescriptor::generic_signature() returns NULL immediately if the field has no generic signature.

Reviewed-by: dholmes, coleenp, jcoomes
2012-06-22 14:00:39 -04:00
Vladimir Kozlov
6bc673930f 7178280: Failed new vector regression tests
When looking for the same value in an other register check that all parts of that register has the same value.

Reviewed-by: johnc, twisti
2012-06-22 10:40:48 -07:00
Roland Westrelin
470db77b36 7129715: MAC: SIGBUS in nsk stress test
StackOverflowError may get lost on OSX.

Reviewed-by: kvn, dcubed
2012-06-21 09:52:38 +02:00
Vladimir Kozlov
b5b10846c2 7177923: SIGBUS on sparc in compiled code for java.util.Calendar.clear()
Disable vectorization of a memory access with more elements per vector than one which is used for alignment on sparc

Reviewed-by: twisti
2012-06-19 15:12:56 -07:00
Christian Thalinger
ed2051c861 7157365: jruby/bench.bench_timeout crashes with JVM internal error
Reviewed-by: jrose, kvn
2012-06-18 15:17:30 -07:00
Krystal Mok
3927b8d331 7176856: add the JRE name to the error log
Reviewed-by: coleenp, jrose, kvn, twisti
2012-06-18 12:29:21 -07:00
Staffan Larsen
cafacdf6dc Merge 2012-06-18 11:33:17 +02:00
Roland Westrelin
118f552a6e 7174363: Arrays.copyOfRange leads to VM crash with -Xcomp -server if executed by testing framework
Arrays.copyOfRange(original, from, to) with from > original.length tries to do a copy with a negative length.

Reviewed-by: kvn, twisti
2012-06-18 09:52:31 +02:00
Vladimir Kozlov
d1191bb4f4 7119644: Increase superword's vector size up to 256 bits
Increase vector size up to 256-bits for YMM AVX registers on x86.

Reviewed-by: never, twisti, roland
2012-06-15 01:25:19 -07:00
Vladimir Kozlov
7dd9d23eb1 Merge 2012-06-14 14:59:52 -07:00
Staffan Larsen
670a74b75b Merge 2012-06-14 12:21:48 +02:00
Coleen Phillimore
55b09e7016 7158800: Improve storage of symbol tables
Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance

Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-13 19:52:59 -04:00
Christian Thalinger
301e9f9548 7174928: JSR 292: unresolved invokedynamic call sites deopt and osr infinitely
Reviewed-by: kvn
2012-06-13 11:36:03 -07:00
Vlaidmir Ivanov
dd85e2f356 7173340: C2: code cleanup: use PhaseIterGVN::replace_edge(Node*, int, Node*) where applicable
Replace frequent C2 optimizer code patterns with new methods calls

Reviewed-by: kvn, twisti
2012-06-12 16:23:31 -07:00
Krystal Mok
529b370174 7174218: remove AtomicLongCSImpl intrinsics
Reviewed-by: kvn, twisti
2012-06-12 14:31:44 -07:00