Commit Graph

3686 Commits

Author SHA1 Message Date
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
Frederic Parain
c0a96ff2a4 7183754: Test runtime/6294277/Test6294277.sh runs wrong JVM
Reviewed-by: kamg, coleenp, ctornqvi
2012-07-16 04:06:44 -07: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
Alejandro Murillo
b5cfc76c1e 7184050: new hotspot build - hs24-b17
Reviewed-by: jcoomes
2012-07-13 14:16:21 -07:00
Alejandro Murillo
8aaf8673f1 Added tag hs24-b16 for changeset 3db9eaf7c6ab 2012-07-13 14:06:34 -07:00
Alejandro Murillo
4b959a29ea Merge 2012-07-13 14:06:33 -07:00
David Katleman
32a0fe5fa4 Added tag jdk8-b47 for changeset a655fb35e798 2012-07-12 16:48:00 -07: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
David Katleman
21a3abc4d4 Added tag jdk8-b46 for changeset 7604568cf818 2012-07-05 18:44:09 -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
e9301228b4 7180882: new hotspot build - hs24-b16
Reviewed-by: jcoomes
2012-06-29 17:12:15 -07:00
Alejandro Murillo
71eeebb595 Added tag hs24-b15 for changeset e4f98cec6edd 2012-06-29 17:04:40 -07:00
Alejandro Murillo
fad2bafa7b Merge 2012-06-29 17:04:39 -07:00
Coleen Phillimore
9f400835df 7179759: ENV: Nightly fails during jdk copiyng for solaris platforms after FDS unzipping
Libjvm_g_db.so and libjvm_g_dtrace.so links in .diz file still had 64 directory

Reviewed-by: kamg, dholmes, sspitsyn
2012-06-29 14:28:10 -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
David Katleman
405208abe7 Added tag jdk8-b45 for changeset 8ff1c75f204a 2012-06-28 09:32:35 -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
Staffan Larsen
8e42425c92 7178667: ALT_EXPORT_PATH does not export server jvm on macosx
Missing .PHONY targets in makefile

Reviewed-by: dholmes, dsamersoff
2012-06-27 15:23:36 +02: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
Dean Long
97cc5e6c44 7156729: PPC: R_PPC_REL24 relocation error related to some libraries built without -fPIC
Build powerpc with -fPIC

Reviewed-by: mikael, vladidan, roland
2012-06-25 15:34:06 -04: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
Yumin Qi
e742ae2157 7177128: SA cannot get correct system properties after 7126277
Bug fix of 7126277 changed hashing algorithm and also changed key as final field, this led SA unable to set correct value for key. Solution by reading key/value and insert them into the new table.

Reviewed-by: dholmes, mikael
2012-06-22 15:39:16 -07:00
Yumin Qi
f4fdc03167 7175133: jinfo failed to get system properties after 6924259
String offset and count fields as fix of 6924259 were removed, and become optional. SA still use offset and count fields to read String contents and failed. Fix if they exist, use them other then use value field only to read, this keeps consistent with the changes in 6924259.

Reviewed-by: dholmes, mikael
2012-06-22 15:35:30 -07: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
David Katleman
769bc4a420 Added tag jdk8-b44 for changeset 1531e68c3b60 2012-06-21 17:07:40 -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
Daniel D. Daugherty
93e9a184a3 Merge 2012-06-20 14:29:23 -07:00
Daniel D. Daugherty
4189d0802f 7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
Fix bad paths in client/64 and server/64 debug info and symlink creation

Reviewed-by: ohair, dholmes
2012-06-20 14:18:25 -07:00
Gary Collins
8b20e7af53 7178113: build environment change
Simple change to enable proper builds of arm target

Reviewed-by: ohair, dholmes
2012-06-19 21:16:20 -07: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
Alejandro Murillo
18fce99e63 7175515: new hotspot build - hs24-b15
Reviewed-by: jcoomes
2012-06-15 14:17:28 -07:00
Alejandro Murillo
9c6ac94d37 Added tag hs24-b14 for changeset 812bed29656a 2012-06-15 14:07:01 -07:00
Alejandro Murillo
50bd95aadf Merge 2012-06-15 14:07:00 -07:00
Coleen Phillimore
90c19a9907 7177307: fix fo CR7158800 doesn't contain Test7158800.sh
Forgot to hg add it

Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-15 07:51:37 -04: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
Poonam Bajaj
76eedab612 Merge 2012-06-14 22:55:40 -07:00
Vladimir Kozlov
7dd9d23eb1 Merge 2012-06-14 14:59:52 -07:00
David Katleman
835b46c1f1 Added tag jdk8-b43 for changeset 6e8bd51d480c 2012-06-14 13:14:13 -07:00
Staffan Larsen
670a74b75b Merge 2012-06-14 12:21:48 +02:00
Poonam Bajaj
4254270688 6310967: SA: jstack -m produce failures in output
While looking for the sender frame check that the frame pointer should not be less than the stack pointer.

Reviewed-by: dholmes, sla
2012-06-14 02:12:46 -07: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
Vlaidmir Ivanov
e67db1b150 7169782: C2: SIGSEGV in LShiftLNode::Ideal(PhaseGVN*, bool)
Keep intermediate node alive till the end of the graph construction using dummy hook node trick

Reviewed-by: kvn, twisti
2012-06-12 09:47:23 -07:00
Roland Westrelin
bd09c5ac38 7174532: jdk/test/java/lang/Math/WorstCaseTests.java failing on x86
Increase precision on x86 for the steps of the computation of exp and pow.

Reviewed-by: kvn
2012-06-12 10:02:36 +02:00
Vladimir Kozlov
4ed033f56f Merge 2012-06-11 22:38:28 -07:00
Christian Thalinger
02eef114a1 7063674: Wrong results from basic comparisons after calls to Long.bitCount(long)
Reviewed-by: kvn
2012-06-11 16:47:41 -07:00
Vladimir Kozlov
ae6d0d30f5 7174510: 19 JCK compiler tests fail with C2 error: memNode.cpp:812 - ShouldNotReachHere
Add missing check for EncodeP node in MemNode::Ideal_common_DU_postCCP() method.

Reviewed-by: twisti
2012-06-11 14:58:51 -07:00
Volker Simonis
7c17e9e75b 7175914: Usage of gcc with precompiled headers produces wrong build dependencies
Add -fpch-deps flag to gcc builds

Reviewed-by: kamg, coleenp
2012-06-11 13:10:14 -04:00
Vladimir Kozlov
a23aa66098 Merge 2012-06-11 08:35:28 -07:00
Bertrand Delsart
dd6200f31a Merge 2012-06-11 04:47:33 -04:00
Staffan Larsen
a928a2df96 Merge 2012-06-11 10:28:02 +02:00
John Coomes
b549e586b0 Merge 2012-06-08 09:49:49 -07:00
Chris Dennis
27c2e51e67 7172708: 32/64 bit type issues on Windows after Mac OS X port
Reviewed-by: dholmes, coleenp
2012-06-08 02:06:16 -04:00
Abhijit Saha
aacc740523 Merge 2012-06-07 12:30:02 -07:00
Christine Lu
8205e664c8 Added tag jdk8-b42 for changeset f095886560ac 2012-06-07 12:10:19 -07:00
Christian Thalinger
36093c2bf6 7174884: C1: failures after 7171890: assert(cur_state != NULL) failed: state_before must be set
Reviewed-by: kvn
2012-06-06 15:57:37 -07:00
Jiangli Zhou
2b4b058265 7172967: Eliminate constMethod's _method backpointer to methodOop
Eliminate constMethod's _method backpointer to methodOop, and move the _constant field from methodOop to constMethod.

Reviewed-by: roland, bdelsart, kamg
2012-06-06 14:33:43 -04:00
Mikael Vidstedt
bd06ea72a9 7170275: os::print_os_info needs to know about Windows 8
Recognize Windows 8 and Windows Server 2012

Reviewed-by: sla, kvn, azeemj
2012-06-06 05:21:56 +02:00
Frederic Parain
911dcf0f08 7171703: JNI DefineClass crashes client VM when first parameter is NULL
Reviewed-by: acorn, kamg, sspitsyn, dholmes
2012-06-05 06:48:00 -07:00
Krystal Mok
6d29429c4e 7171890: C1: add Class.isInstance intrinsic
Class.cast which calls Class.isInstance is heavily used by the new JSR 292 implementation

Reviewed-by: roland
2012-06-05 10:15:27 +02:00
Keith McGuigan
1ac7879229 7166498: JVM crash in ClassVerifier
Fixed raw pointer being used after potential safepoint/GC

Reviewed-by: acorn, fparain, dholmes
2012-06-04 10:22:37 -04:00
Bengt Rutisson
ee7ac30420 7173460: G1: java/lang/management/MemoryMXBean/CollectionUsageThreshold.java failes with G1
The scope of TraceMemoryManagerStats in G1CollectedHeap need to cover the call to G1MonitoringSupport::update_sizes()

Reviewed-by: johnc, jmasa
2012-06-04 13:29:34 +02:00
Bengt Rutisson
e294a9f5ec 7172388: G1: _total_full_collections should not be incremented for concurrent cycles
Reviewed-by: azeemj, jmasa
2012-06-05 22:30:24 +02:00
Mikael Gerdin
1ae0edb1f1 7172226: HotSpot fails to build with GCC 4.7 because of stricter c++ argument dependent lookup
Add "using" keyword to import base class functions from FreeList<T> to fix template name lookup in gcc 4.7

Reviewed-by: brutisso, iveresov
2012-06-04 09:21:53 +02:00
David Holmes
e3d25bce34 Merge 2012-06-02 07:32:21 -04:00
Alejandro Murillo
528d6f3d54 7173438: new hotspot build - hs24-b14
Reviewed-by: jcoomes
2012-06-01 15:30:44 -07:00
Alejandro Murillo
48140aa4e1 Added tag hs24-b13 for changeset 4f7547c15006 2012-06-01 15:24:09 -07:00
Alejandro Murillo
e44885a4e1 Merge 2012-06-01 15:24:08 -07:00
Christine Lu
90d6f85d39 Added tag jdk8-b41 for changeset 609e4849830f 2012-06-01 14:12:10 -07:00
Alejandro Murillo
33799389d4 7173635: jprt.properties should include release jdk7u6
Reviewed-by: jcoomes
2012-06-01 11:25:12 -07:00
Mikael Vidstedt
0e816e0b83 7155453: [macosx] re-enable jbb tests in JPRT
Run SPECjbb in headless mode and enable SPECjbb runs on OSX

Reviewed-by: dcubed, dholmes
2012-06-01 20:17:46 +02:00
John Coomes
ec1fb16e34 Merge 2012-06-01 10:29:02 -07:00
Bengt Rutisson
212ab5c73a 7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering
Simplify code, remove unused code, remove ExitAfterGCNum

Reviewed-by: huntch, johnc
2012-05-31 21:10:33 +02:00
David Holmes
9eb03933dc Merge 2012-05-30 17:45:02 -04:00
Krystal Mok
20b16ea7aa 7172843: C1: fix "assert(has_printable_bci()) failed: _printable_bci should have been set"
Reviewed-by: twisti
2012-05-30 12:17:07 -07:00
John Cuthbertson
057a1b7128 7158682: G1: Handle leak when running nsk.sysdict tests
Place HandleMarks in the code that allocates handles for the pending list lock so that the handles are freed and multiple, unsuccessful, attempts to schedule a GC do not cause an OOM.

Reviewed-by: brutisso
2012-05-30 10:26:24 -07:00
Zhengyu Gu
a9ea9bd20a Merge 2012-05-29 20:06:10 -04:00
Zhengyu Gu
e8dff8cfab Merge 2012-05-26 06:07:38 -07:00
Joseph Provino
b6db24abd6 Merge 2012-05-26 08:49:05 -04:00
Alejandro Murillo
a5780148fd 7171853: new hotspot build - hs24-b13
Reviewed-by: jcoomes
2012-05-25 14:56:19 -07:00
Alejandro Murillo
963943745e Added tag hs24-b12 for changeset 686dd42705db 2012-05-25 14:45:36 -07:00
Alejandro Murillo
eb3ed764ca Merge 2012-05-25 14:45:35 -07:00
Bengt Rutisson
b76f6e07ab 7171936: LOG_G incorrectly defined in globalDefinitions.hpp
Removed LOG_G and LOG_K. Moved LOG_M to where it is being used.

Reviewed-by: twisti, johnc
2012-05-25 22:35:13 +02:00
John Cuthbertson
3f38785a0a 7143858: G1: Back to back young GCs with the second GC having a minimally sized eden
Before the last thread to leave a JNI critical region was able to schedule a GCLocker Initiated GC, another thread was attempting an allocation and saw that the GCLocker region was no longer active and successfully scheduled a GC. Stall allocating threads until the GCLocker Initiated GC is performed and then retry the allocation.

Reviewed-by: brutisso, huntch
2012-05-29 10:18:02 -07:00
Christian Thalinger
687fab1763 7170145: C1 doesn't respect the JMM with volatile field loads
Reviewed-by: kvn, roland
2012-05-25 11:39:13 -07:00
Krystal Mok
a9ea68bd3f 7170463: C2 should recognize "obj.getClass() == A.class" code pattern
Optimize this code pattern obj.getClass() == A.class.

Reviewed-by: jrose, kvn
2012-05-25 07:53:11 -07:00
Vladimir Kozlov
d6d1826ad3 Merge 2012-05-24 18:39:44 -07:00
Zhengyu Gu
6a6296d61b Merge 2012-05-24 20:04:07 -04:00
David Katleman
42a2cab56e Added tag jdk8-b40 for changeset 287fd8991324 2012-05-24 16:15:37 -07:00
Daniel D. Daugherty
2003ef208a Merge 2012-05-24 12:57:01 -07:00
Daniel D. Daugherty
cad78d6f04 7165598: enable FDS on Solaris X64 when 7165593 is fixed
Work around 'gobjcopy' failure on Solaris X64 by adding a temporary tool that removes the SHF_ALLOC flag from "empty" section headers.

Reviewed-by: sspitsyn, acorn
2012-05-24 12:03:42 -07:00
Rickard Bäckman
0ccc41fc10 7171422: Change 7161732 breaks SA on Windows
Reviewed-by: dholmes, sla
2012-05-24 13:37:47 +02:00
David Holmes
529f652312 7170197: Update JPRT default build targets to support embedded builds
Reviewed-by: jcoomes, kvn
2012-05-23 20:09:56 -04:00
Zhengyu Gu
4118514eaa Merge 2012-05-22 20:29:05 -04:00
Rickard Bäckman
be3945d9ff 7161732: Improve handling of thread_id in OSThread
Reviewed-by: dholmes, kamg
2012-05-22 10:11:53 +02:00
Abhijit Saha
1c1f4add53 Merge 2012-05-21 14:56:33 -07:00
Jiangli Zhou
31e63d5a3a 7168280: Eliminate the generic signature index slot from field array for field without generic signature
Only allocate the generic signature index slot in the field array for field with generic signature attribute.

Reviewed-by: coleenp, dlong
2012-05-21 14:10:35 -04:00
Matherey Nunez
818597ae4f 7168848: Add test to check that humongous object allocation path also checks the heap occupancy
Added test that checks humongous object allocation path also check the heap occupancy and initiate a marking cycle when / if needed.

Reviewed-by: brutisso, jwilhelm
2012-05-21 14:59:59 +02:00
Roland Westrelin
e975779565 7169934: pow(x,y) or x64 computes incorrect result when x<0 and y is an odd integer
Bad test for parity of y in pow(x,y) (c1, interpreter)

Reviewed-by: kvn, twisti
2012-05-21 09:46:02 +02:00
Alejandro Murillo
57692966b7 7170006: new hotspot build - hs24-b12
Reviewed-by: jcoomes
2012-05-18 14:57:28 -07:00
Alejandro Murillo
f1828f22b9 Added tag hs24-b11 for changeset 100019c94f7c 2012-05-18 14:50:18 -07:00
Alejandro Murillo
dec70be8bf Merge 2012-05-18 14:50:17 -07:00
Krystal Mok
100eb2036d 7170053: crash in C2 when using -XX:+CountCompiledCalls
Reviewed-by: kvn, twisti
2012-05-18 12:20:24 -07:00
John Coomes
2c4e9e718c Merge 2012-05-18 10:27:13 -07:00
Daniel D. Daugherty
5ea3d5b1ea 7170010: conditional "ZIP_DEBUGINFO_FILES ?= 0" setting is not reliable on Windows
Always disable ZIP_DEBUGINFO_FILES on Windows.

Reviewed-by: acorn
2012-05-18 09:15:15 -07:00
Roland Westrelin
285f7e0640 7167254: Crash on OSX in Enumerator.nextElement() with compressed oops
Null checks in "compressed oops with base" mode may trigger a SIGBUS rather than a SIGSEGV.

Reviewed-by: dsamersoff, dcubed, rbackman, kvn
2012-05-18 15:50:09 +02:00
Bengt Rutisson
6e3096a0fa 7169062: CMS: Assertion failed with -XX:+ObjectAlignmentInBytes=64
Removed the assert in CompactibleFreeListSpace::check_free_list_consistency() since it was too strict. Simplified CompactibleFreeListSpace::set_cms_values() to reducde the need for asserts.

Reviewed-by: jcoomes, stefank
2012-05-17 21:53:40 +02:00
Vladimir Kozlov
72c30e6568 Merge 2012-05-17 09:50:59 -07:00
David Katleman
6412273c94 Added tag jdk8-b39 for changeset 402efa0d91d4 2012-05-17 06:20:23 -07:00
Daniel D. Daugherty
04d132c069 7169409: enabling ZIP_DEBUGINFO_FILES causes unexpected test failures on Windows X86
Disable ZIP_DEBUGINFO_FILES by default on Windows.

Reviewed-by: acorn
2012-05-16 12:47:27 -07:00
Joseph Provino
df5c45b99f Merge 2012-05-16 13:33:30 -04:00
Daniel D. Daugherty
aaf2d69944 7165060: dtrace tests fail with FDS debug info files
Work around 'gobjcopy --add-gnu-debuglink' failure by adding a temporary tool that adds the '.gnu_debuglink' section and nothing more.

Reviewed-by: sspitsyn, acorn
2012-05-15 10:52:24 -07:00
Bengt Rutisson
eba9965d54 7166894: Add gc cause to GC logging for all collectors
Reviewed-by: mgerdin, johnc
2012-05-15 10:25:06 +02:00
Bengt Rutisson
b2d4591455 7169056: Add gigabyte unit to proper_unit_for_byte_size() and byte_size_in_proper_unit()
Reviewed-by: jwilhelm, johnc, dholmes
2012-05-15 22:26:37 +02:00
John Cuthbertson
73636f80f0 7168294: G1: Some Full GCs incorrectly report GC cause as "No GC"
GC cause was not being set by the VM_G1CollectForAllocation VM operation.

Reviewed-by: jmasa, ysr, brutisso
2012-05-15 09:49:18 -07:00
Roland Westrelin
b305cf722e 7133857: exp() and pow() should use the x87 ISA on x86
Use x87 instructions to implement exp() and pow() in interpreter/c1/c2.

Reviewed-by: kvn, never, twisti
2012-05-15 10:10:23 +02:00
John Cuthbertson
4935ae09b8 Merge 2012-05-14 21:07:28 -07:00
Mikael Vidstedt
c23595da74 7158457: division by zero in adaptiveweightedaverage
Add ceiling to AdaptiveWeightedAverage

Reviewed-by: ysr, iveresov
2012-05-15 00:56:06 +02:00
Vladimir Kozlov
eb4a860bc3 6924259: Remove String.count/String.offset
Allow a version of String class that doesn't have count and offset fields.

Reviewed-by: never, coleenp
2012-05-14 09:36:00 -07:00
Bengt Rutisson
b68794be17 7161545: G1: Minor cleanups to the G1 logging
Rename "to-space-overflow" to "to-space-exhausted", Introduce one decimal point in the size format, Add Sum to the aggregate and re-order the entries, Add number of GC workers to the log output

Reviewed-by: johnc, jwilhelm
2012-05-14 17:32:17 +02:00
Alejandro Murillo
17b26a6a0c 7168247: new hotspot build - hs24-b11
Reviewed-by: jcoomes
2012-05-11 14:54:35 -07:00
Alejandro Murillo
757948e54b Added tag hs24-b10 for changeset fcb3aef57178 2012-05-11 14:47:25 -07:00
Alejandro Murillo
1484d4c12c Merge 2012-05-11 14:47:24 -07:00
Gary Collins
bfa3402f16 7167625: Adjustments for SE-Embedded build process
Simple change to the SE-Embedded build rules that should not affect any other OpenJDK users.

Reviewed-by: kvn, dholmes
2012-05-11 11:30:03 -07:00
John Coomes
8fe245a2ba Merge 2012-05-11 06:37:47 -07:00
David Katleman
d75e89764e Added tag jdk8-b38 for changeset dd5e885125b4 2012-05-10 10:25:00 -07:00
Nils Loodin
7d82c13142 7165755: OS Information much longer on linux than other platforms
Reviewed-by: sla, dholmes
2012-05-10 15:44:19 +02:00
Daniel D. Daugherty
a160adcf6c 7169102: 7165060 merge lost changes to make/windows/makefiles/defs.make
Reviewed-by: sspitsyn, acorn
2012-05-15 15:16:14 -07:00
Daniel D. Daugherty
2d24f2ea0f Merge 2012-05-15 11:27:24 -07:00
Zhengyu Gu
eefa9c27a1 Merge 2012-05-12 06:50:41 -04:00
Kevin Walls
8b44324ec4 7157734: hotspot test scripts not testing 64-bit JVM under JPRT/JTREG
Reviewed-by: kvn
2012-05-11 17:24:32 +01:00
Zhengyu Gu
fe52024032 Merge 2012-05-10 18:19:53 -04:00
Bengt Rutisson
831d61ffee 7167069: 6 VM flags crash the VM when queried via jinfo
Added missing double format to Flag::print_as_flag()

Reviewed-by: dholmes, stefank, coleenp
2012-05-10 14:16:34 +02:00
Stefan Karlsson
efb4e7d77d 7167437: Can't build on linux without precompiled headers
Reviewed-by: brutisso, mgerdin
2012-05-10 11:27:10 +02:00
Alejandro Murillo
687cb2678f Merge 2012-05-09 14:06:27 -07:00
David Katleman
e53314cbb7 Added tag jdk8-b37 for changeset f2944668a5b3 2012-05-09 13:07:42 -07:00
Vladimir Kozlov
65e294a51d Merge 2012-05-09 10:54:29 -07:00
Nils Loodin
018f4098e8 7163117: Agent can't connect to process on Mac OSX
Reviewed-by: dholmes, coleenp, sla, minqi, kvn
2012-05-09 16:24:07 +02:00
David Holmes
26eeb59d8d Merge 2012-05-09 04:32:34 -04:00
Andrew Dinn
97d244d75a 7167406: (Zero) Fix for InvokeDynamic needed
Reviewed-by: chrisphi, dholmes
2012-05-09 00:28:45 -04:00
Vladimir Kozlov
7ecd34e368 7167266: missing copyright notes in 3rd party code
Add missing copyright notes to the regression test file.

Reviewed-by: twisti, johnc
2012-05-08 15:47:04 -07:00
Abhijit Saha
8a9a73c5fd Merge 2012-05-08 11:29:21 -07:00
Krystal Mok
833a064cfe 7162726: Wrong filter predicate of visible locals in SA JSJavaFrame
Reviewed-by: sla, dcubed
2012-05-08 20:28:35 +02:00
Abhijit Saha
e2a63403d0 Merge 2012-05-08 07:29:27 -07:00
Vladimir Kozlov
904f53db88 7160610: Unknown Native Code compilation issue
When constructing input vector use type of vector's operation which use it since element's sizes should match.

Reviewed-by: never, twisti
2012-05-07 12:37:46 -07:00
Joseph Provino
e897b69d19 Merge 2012-05-05 10:24:55 -04:00
Alejandro Murillo
ffd4d39144 7166615: new hotspot build - hs24-b10
Reviewed-by: jcoomes
2012-05-04 15:26:05 -07:00
Alejandro Murillo
d1c83acabb Added tag hs24-b09 for changeset 6123dd756c56 2012-05-04 14:10:31 -07:00
Alejandro Murillo
2889d16425 Merge 2012-05-04 14:10:30 -07:00
John Coomes
05bee5dc82 Merge 2012-05-04 10:46:32 -07:00
Keith McGuigan
ff66fcc442 7160757: Problem with hotspot/runtime_classfile
Allow only current and super invokespecials of <init>

Reviewed-by: never, coleenp, dcubed
2012-05-03 15:37:46 -04:00
Joseph Provino
0e89e92d04 Merge 2012-05-02 15:47:06 -04:00
Jiangli Zhou
2fa131f8db 7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support
Change the _host_klass to be conditionally created embedded instanceKlass field.

Reviewed-by: jrose, coleenp, dholmes
2012-05-02 13:21:36 -04:00
David Katleman
a4aab05579 Added tag jdk8-b36 for changeset a7cb86ab5b6e 2012-04-26 14:05:31 -07:00
Dean Long
ea89242447 7162955: Attach api on Solaris, too many open files
Release server-side socket after client receives it.

Reviewed-by: sla, dsamersoff, dcubed, acorn
2012-04-26 16:24:15 -04:00
Daniel D. Daugherty
5b91fbd2b5 7164344: enabling ZIP_DEBUGINFO_FILES causes unexpected test failures on Solaris and Windows
Disable FDS by default on Solaris; disable ZIP_DEBUGINFO_FILES by default on Windows.

Reviewed-by: acorn, sspitsyn
2012-04-25 15:06:51 -07:00
Bengt Rutisson
93bfefecfe 7163848: G1: Log GC Cause for a GC
Reviewed-by: johnc, jwilhelm, jmasa
2012-04-25 12:36:37 +02:00
Jon Masamitsu
9d991480e9 Merge 2012-04-25 15:51:10 -07:00
John Cuthbertson
377a04fe57 7143490: G1: Remove HeapRegion::_top_at_conc_mark_count
Removed the HeapRegion::_top_at_conc_mark_count field. It is no longer needed as a result of the changes for 6888336 and 7127706. Refactored the closures that finalize and verify the liveness counting data so that common functionality was placed into a base class.

Reviewed-by: brutisso, tonyp
2012-04-25 10:23:12 -07:00
Jon Masamitsu
b63f7f3a18 7164144: Fix variable naming style in freeBlockDictionary.* and binaryTreeDictionary*
Fix naming style to be consistent with the predominant hotspot style.

Reviewed-by: ysr, brutisso
2012-04-25 09:55:55 -07:00
Daniel D. Daugherty
4ab089ddba Merge 2012-04-24 15:20:40 -07:00
Nils Eliasson
83ff79ed01 7157695: Add windows implementation of socket interface
Reviewed-by: kvn, dholmes, twisti
2012-04-24 12:15:32 -07:00
Daniel D. Daugherty
1feb712387 Merge 2012-04-23 11:03:30 -07:00
Staffan Larsen
ca57fd5c97 7162063: libsaproc debug print should format size_t correctly on 64bit platform
Reviewed-by: rbackman, mgronlun, dholmes
2012-04-23 13:30:39 +02:00
Alejandro Murillo
6de80de07f 7163193: new hotspot build - hs24-b09
Reviewed-by: jcoomes
2012-04-20 17:13:36 -07:00
Alejandro Murillo
240c3c4839 Added tag hs24-b08 for changeset 55ac5f20c7bf 2012-04-20 16:23:49 -07:00
Alejandro Murillo
f4ce595352 Merge 2012-04-20 16:23:48 -07:00
John Cuthbertson
b2ab93cc7b Merge 2012-04-20 11:41:49 -07:00
Kevin Walls
7e36bafdcd 7162488: VM not printing unknown -XX options
Reviewed-by: dholmes, kamg
2012-04-20 14:55:45 +01:00
David Katleman
17f06f1623 Added tag jdk8-b35 for changeset f81ec813e7ee 2012-04-19 12:18:46 -07:00
Tom Rodriguez
a02fad04b2 7161796: PhaseStringOpts::fetch_static_field tries to fetch field from the Klass instead of the mirror
Reviewed-by: twisti
2012-04-18 16:08:34 -07:00
Antonios Printezis
0afaaf8d36 7145441: G1: collection set chooser-related cleanup
Cleanup of the CSet chooser class: standardize on uints for region num and indexes (instead of int, jint, etc.), make the method / field naming style more consistent, remove a lot of dead code.

Reviewed-by: johnc, brutisso
2012-04-18 13:39:55 -04:00
Antonios Printezis
01ea4199c7 7157073: G1: type change size_t -> uint for region counts / indexes
Change the type of fields / variables / etc. that represent region counts and indeces from size_t to uint.

Reviewed-by: iveresov, brutisso, jmasa, jwilhelm
2012-04-18 07:21:15 -04:00
Nils Eliasson
2ded12cdfd 7162094: LateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node
Reviewed-by: never, twisti
2012-04-17 11:04:22 -07:00
Tom Rodriguez
24500364ed 7160677: missing else in fix for 7152811
Reviewed-by: kvn, kevinw
2012-04-12 12:07:09 -07:00
David Katleman
5ed629de9f Added tag jdk8-b34 for changeset c71d5b52c0e8 2012-04-12 09:34:57 -07:00
Igor Veresov
d16ab3b53e 7160539: JDeveloper crashes on 64-bit Windows
X64 C1 needs to zero upper 32bits when doing l2i conversion

Reviewed-by: never, kvn
2012-04-11 19:15:46 -07:00
Stefan Karlsson
99802ac63d 7160613: VerifyRememberedSets doesn't work with CompressedOops
Use load_decode_heap_oop instead of load_decode_heap_oop_not_null

Reviewed-by: tonyp, brutisso
2012-04-11 16:18:45 +02:00
Bengt Rutisson
f695b75d78 4988100: oop_verify_old_oop appears to be dead
Removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com

Reviewed-by: jmasa, jwilhelm
2012-04-16 08:57:18 +02:00
Bengt Rutisson
bb59715dae 7160728: Introduce an extra logging level for G1 logging
Added log levels "fine", "finer" and "finest". Let PrintGC map to "fine" and PrintGCDetails map to "finer". Separated out the per worker information in the G1 logging to the "finest" level.

Reviewed-by: stefank, jwilhelm, tonyp, johnc
2012-04-13 01:59:38 +02:00
Abhijit Saha
20a3f240cd Merge 2012-04-10 10:42:34 -07:00
Jiangli Zhou
4fd64312c8 7159772: instanceKlass::all_fields_count() returns incorrect total field count
Fix instanceKlass::all_fields_count() bug.

Reviewed-by: kvn, never
2012-04-10 09:31:04 -07:00
Alejandro Murillo
023ad06e46 7159842: new hotspot build - hs24-b08
Reviewed-by: jcoomes
2012-04-07 09:06:55 -07:00
Alejandro Murillo
5186970421 Added tag hs24-b07 for changeset a320e1d913a6 2012-04-07 08:26:15 -07:00
Alejandro Murillo
cd091372af Merge 2012-04-07 08:26:15 -07:00
John Cuthbertson
18cb0746b3 Merge 2012-04-06 09:48:34 -07:00
Tom Rodriguez
04f50526d3 Merge 2012-04-05 15:08:04 -07:00
David Katleman
f234bdec5b Added tag jdk8-b33 for changeset 468f9d2380ec 2012-04-05 13:04:42 -07:00
Antonios Printezis
29afa9bf4b 7127697: G1: remove dead code after recent concurrent mark changes
Removed lots of dead code after some recent conc mark changes.

Reviewed-by: brutisso, johnc
2012-04-05 13:57:23 -04:00
Tom Rodriguez
3e6d198cf7 7152811: Issues in client compiler
Reviewed-by: kvn, jrose
2012-04-04 20:44:38 -07:00
Daniel D. Daugherty
6f5472dfe9 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
Build option FULL_DEBUG_SYMBOLS=0 only affects product builds.

Reviewed-by: ohair, jmelvin, sspitsyn
2012-04-03 09:48:34 -07:00
Tom Rodriguez
8fc6b2ef2a 7157141: crash in 64 bit with corrupted oops
Reviewed-by: kvn, iveresov
2012-04-02 16:05:56 -07:00
Karen Kinnear
69a42aedf9 Merge 2012-04-01 17:04:26 -04:00
Alejandro Murillo
cdd9c702ac 7158137: new hotspot build - hs24-b07
Reviewed-by: jcoomes
2012-03-30 14:18:17 -07:00
Alejandro Murillo
d791ecac01 Added tag hs24-b06 for changeset 020217b7a101 2012-03-30 14:07:59 -07:00
Alejandro Murillo
4b3efa84fa Merge 2012-03-30 14:07:58 -07:00
Jesper Wilhelmsson
dc0184185c Merge 2012-03-30 09:31:26 +02:00
Dean Long
3798179e83 Merge 2012-03-29 23:49:47 -04:00
Coleen Phillimore
f5558edf7b 7131629: Generalize the CMS free list code
Make the FreeChunk, FreeList, TreeList, and BinaryTreeDictionary classes usable outside CMS.

Reviewed-by: brutisso, johnc, jwilhelm
2012-03-29 19:46:24 -07:00
Keith McGuigan
fbcf78297f 7110720: Issue with vm config file loadingIssue with vm config file loading
Disabling default config files if -XX:-ReadDefaultConfigFiles

Reviewed-by: phh, jrose, dcubed, dholmes
2012-03-29 18:55:32 -04:00
Christine Lu
5e1d3eebdf Added tag jdk8-b32 for changeset 5bfcff7a3ab2 2012-03-29 13:02:11 -07:00
Nils Eliasson
ac3b6a6442 7163863: Updated projectcreator
Enable source browsing for all platform dependent code

Reviewed-by: brutisso, coleenp
2012-03-29 16:43:21 +02:00
Christian Thalinger
0bae010a3b 7200001: failed C1 OSR compile doesn't get recompiled with C2
Reviewed-by: kvn
2012-09-24 17:59:24 -07:00
Vladimir Kozlov
913a550c76 Merge 2012-09-24 14:46:06 -07:00
Christian Thalinger
370f0c73b3 Merge 2012-09-24 12:31:47 -07:00
Tao Mao
c791cfaf95 7188176: The JVM should differentiate between T and M series and adjust GC ergonomics
Reviewed-by: kvn
2012-09-24 11:07:03 -07:00
Goetz Lindenmaier
5ada196961 7200163: add CodeComments functionality to assember stubs
Pass the codeBuffer to the Stub constructor, and adapts the disassembler to print the comments.

Reviewed-by: jrose, kvn, twisti
2012-09-24 10:30:14 -07:00
Roland Westrelin
302540691b 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
Use shorter instruction sequences for atomic add and atomic exchange when possible.

Reviewed-by: kvn, jrose
2012-09-20 16:49:17 +02:00
Vladimir Kozlov
25f18c20d9 7199010: incorrect vector alignment
Fixed vectors alignment when several arrays are accessed in one loop.

Reviewed-by: roland, twisti
2012-09-19 16:50:26 -07:00
Aleksey Shipilev
3874f44d1c 7198499: TraceTypeProfile as diagnostic option
Reviewed-by: kvn
2012-09-19 10:38:12 -07:00
Vladimir Kozlov
811c047ec1 7196199: java/text/Bidi/Bug6665028.java failed: Bidi run count incorrect
Save whole XMM/YMM registers in safepoint interrupt handler.

Reviewed-by: roland, twisti
2012-09-17 19:39:07 -07:00
Vladimir Kozlov
45435c5485 7197033: missing ResourceMark for assert in Method::bci_from()
Added missing ResourceMark.

Reviewed-by: dholmes, coleenp, jmasa
2012-09-17 17:02:10 -07:00
Christian Thalinger
b0d292378a 7196262: JSR 292: java/lang/invoke/PrivateInvokeTest.java fails on solaris-sparc
Reviewed-by: kvn, jrose, bdelsart
2012-09-17 12:57:58 -07:00
Frederic Parain
5bb1350803 7087969: GarbageCollectorMXBean notification contains ticks vs millis
Reviewed-by: acorn, dcubed, rbackman
2012-03-29 02:12:40 -07:00
Yumin Qi
4b95e50bf7 7156960: Incorrect copyright headers in parts of the Serviceability agent
Errant files added as part of 7088955 fix. The Copyright information now corrected with gpl-header template

Reviewed-by: sla, ohair, mbykov
2012-03-28 14:27:38 -07:00
Karen Kinnear
b0fc983013 Merge 2012-03-27 15:28:52 -04:00
Bengt Rutisson
a6d84bc811 7156764: Remove unused size parameter from some CollectedHeap methods
Some minor cleanups

Reviewed-by: tonyp, jwilhelm
2012-03-27 10:29:59 +02:00
Jesper Wilhelmsson
6c25e1cdce Merge 2012-03-26 13:22:38 +02:00
Dean Long
50a2f8c16d Merge 2012-03-25 18:08:52 -04:00