Commit Graph

8480 Commits

Author SHA1 Message Date
Stefan Karlsson
06b8ac7d74 8077420: Build failure with SS12u4
Reviewed-by: dholmes, lfoltan
2015-04-14 11:40:13 +02:00
Cheleswer Sahu
f93a647092 8072863: Replace fatal() with vm_exit_during_initialization() when an incorrect class is found on the bootclasspath
Reviewed-by: dholmes, coleenp
2015-04-13 23:04:02 -07:00
Goetz Lindenmaier
af1efee490 8077618: Move rtmLocking.cpp to shared directory
Reviewed-by: dholmes, kvn
2015-04-13 18:49:59 -07:00
Christian Tornqvist
74a8303c24 Merge 2015-04-10 15:18:45 +00:00
Dmitry Samersoff
19d7e33b10 8044416: serviceability/sa/jmap-hashcode/Test8028623.java fails with AssertionFailure: can not get class data for java/lang/UNIXProcess$Platform$$Lambda
Lambda object is not counted when SA builds class data cache but is reached inside live region.

Reviewed-by: sla, jbachorik
2015-04-10 05:22:56 -07:00
Lana Steuck
53fb10020b Merge 2015-04-09 17:38:28 -07:00
David Katleman
dca9f784cb Added tag jdk9-b59 for changeset 174027605384 2015-04-09 06:40:12 -07:00
Evgeniya Stepanova
89649d21af 8026043: Add regression test for JDK-8000831
Reviewed-by: mchung
2015-04-09 14:16:04 +03:00
Jon Masamitsu
5285c9ea86 8077301: Optimized build is broken
Reviewed-by: kbarrett, brutisso
2015-04-13 11:01:29 -07:00
Per Lidén
ca9afd25f6 8077413: Avoid use of Universe::heap() inside collectors
Reviewed-by: stefank, kbarrett
2015-04-13 15:47:48 +02:00
Mikael Gerdin
f078697a45 8077400: Unnecessary and incorrect "Code Cache Roots" G1 log entry
Reviewed-by: tschatzl, brutisso, sangheki
2015-04-10 13:58:36 +02:00
Bengt Rutisson
2cefed232b 8077411: Remove CollectedHeap::supports_heap_inspection()
Reviewed-by: stefank, ecaspole, jmasa
2015-04-12 14:59:41 +02:00
Eric Caspole
d0dafa0c28 8077414: PSPromotionLAB _state is unintialized
Initialize _state to zero_size

Reviewed-by: brutisso, stefank
2015-04-10 10:55:07 -04:00
Lana Steuck
6ae01cc622 Merge 2015-04-08 14:32:11 -07:00
David Katleman
870c45e9a0 Added tag jdk9-b58 for changeset 91800dac27eb 2015-04-08 13:12:46 -07:00
Dmitry Dmitriev
5f589f20aa 8076311: Java 9 process negative MaxTenuringThreshold in different way than Java 8
Corrected processing of invalid MaXTenuringThreshold

Reviewed-by: jmasa, dholmes, kbarrett
2015-04-08 15:49:29 +03:00
Stefan Karlsson
2a4fe40ee2 Merge 2015-04-10 14:59:21 +00:00
Sangheon Kim
2dff1df5da 8076325: java hangs with -XX:ParallelGCThreads=0 -XX:+ExplicitGCInvokesConcurrent options
Added a guard of gc workers > 0 to execute logic.

Reviewed-by: stefank, mgerdin
2015-04-09 10:16:45 -07:00
Thomas Schatzl
06bba0999a 8077255: TracePageSizes output reports wrong page size on Windows with G1
Print selected page size, not alignment size chosen by ReservedSpace (which is the vm_allocation_granularity that is different to page size on Windows) in the message presented by TracePageSizes.

Reviewed-by: drwhite, jmasa
2015-04-09 15:41:47 +02:00
Thomas Stuefe
3d93d62722 8077257: Use CanUseSafeFetch instead of probing SafeFetch stub directly
Reviewed-by: simonis
2015-04-08 12:51:50 +02:00
Jaroslav Bachorik
1baf145d9e Merge 2015-04-08 08:07:47 +00:00
Bengt Rutisson
d86a561fe4 8076614: Add comment to ClearNoncleanCardWrapper::do_MemRegion()
Reviewed-by: kbarrett, stefank
2015-04-08 09:35:25 +02:00
Jesper Wilhelmsson
7ec8aadd33 Merge 2015-04-09 17:39:42 +02:00
Kim Barrett
49f5eb0a78 Merge 2015-04-09 12:40:20 +00:00
Jesper Wilhelmsson
46fd08f9ac 8077315: Build failure on OSX after compiler upgrade
Reviewed-by: stefank, mgerdin
2015-04-09 11:30:37 +02:00
Jesper Wilhelmsson
28d6d2146c 8077302: src/share/vm/oops/instanceRefKlass.inline.hpp has a doubble /*
Reviewed-by: stefank, mgerdin
2015-04-09 11:29:32 +02:00
Kim Barrett
75f8399057 8076265: Simplify deal_with_reference
Eliminate _CHECK_BOTH_FINGERS_ and simplify.

Reviewed-by: brutisso, tschatzl
2015-04-08 10:32:16 -04:00
Per Lidén
f6e2ae001d 8076534: CollectedHeapName in SA agent incorrect
Reviewed-by: dsamersoff, sla, tschatzl
2015-04-08 15:19:49 +02:00
David Holmes
d3e55fcf3e Merge 2015-04-08 06:01:14 +00:00
David Holmes
8459bbf4c1 8067235: embedded/minvm/checknmt fails on compact1 and compact2 with minimal VM
Reviewed-by: lfoltan, sspitsyn
2015-04-08 01:27:44 -04:00
Serguei Spitsyn
89256b01cb 8066679: jvmtiRedefineClasses.cpp assert cache ptrs must match
Remove the assert and deallocate cashed class file bytes that are in collision

Reviewed-by: coleenp, dcubed
2015-04-07 20:18:28 -07:00
George Triantafillou
8df4646de2 8076274: [TESTBUG] Remove @ignore from runtime\NMT\JcmdDetailDiff.java
Reviewed-by: lfoltan, coleenp
2015-04-07 11:25:06 -07:00
Thomas Stuefe
c034b74806 8076475: Misuses of strncpy/strncat
Various small fixes around strncpy and strncat

Reviewed-by: dsamersoff, coleenp
2015-04-07 14:19:03 +02:00
Dmitry Samersoff
f84a0d02b9 8067991: [Findbugs] SA com.sun.java.swing.ui.CommonUI some methods need final protect
Fixed java programmint style nit

Reviewed-by: jbachorik, sspitsyn
2015-04-07 03:04:29 -07:00
Thomas Schatzl
0a0a22f7ea 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:53:51 +02:00
Alejandro Murillo
a1a1955a97 Merge 2015-04-06 09:33:20 -07:00
Lana Steuck
eba464db1a Merge 2015-04-03 16:34:51 -07:00
Calvin Cheung
d4c484b0ba Merge 2015-04-03 13:45:33 -07:00
Jaroslav Bachorik
ed433c58a0 8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
Reviewed-by: mchung
2015-04-03 15:40:35 +02:00
Coleen Phillimore
ca12a72730 Merge 2015-04-03 13:18:06 +00:00
Thomas Stuefe
704c02a180 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Add __try/__except around JNI_CreateJavaVM

Reviewed-by: mgronlun, dcubed
2015-04-03 05:55:33 -04:00
Dmitry Samersoff
8c232f54a5 Merge 2015-04-02 20:51:24 +00:00
Derek White
6aa9bef5d3 8069004: Kitchensink hanged with 16Gb heap and GC pause >30 min
Revert bug introduced a few months ago.

Reviewed-by: brutisso, tschatzl, jmasa
2015-04-02 16:42:24 -04:00
Alejandro Murillo
261765b24e Merge 2015-04-02 13:38:47 -07:00
Dmitry Samersoff
fcf9563213 8068007: [Findbugs] SA com.sun.java.swing.action.ActionManager.manager should be package protect
Fixed java programming style nit

Reviewed-by: dholmes, jbachorik, sspitsyn
2015-04-02 13:20:49 -07:00
Coleen Phillimore
2007cb6f39 Merge 2015-04-02 19:26:00 +00:00
Coleen Phillimore
dccc407b83 8076421: Fix Zero Interpreter bugs in class redefinition and template interpreter changes
Metadata_do walking interpreted frames was wrong and generate_Reference_get is not necessarily an accessor method.

Reviewed-by: sgehwolf, dholmes
2015-04-02 14:02:54 -04:00
Jaroslav Bachorik
56a4782b81 Merge 2015-04-02 17:22:22 +00:00
David Katleman
79a33f826e Added tag jdk9-b57 for changeset 82711ddae051 2015-04-02 10:02:42 -07:00
Kirill Zhaldybin
7028386046 8043225: Make whitebox API functions more stable
Added checks for null parameters where applicable

Reviewed-by: dholmes, iignatyev
2015-04-02 18:53:45 +03:00
Jesper Wilhelmsson
8e5f94bf08 8076267: Remove n_gens()
Reviewed-by: jprovino, kbarrett, jmasa
2015-04-02 16:37:29 +02:00
Max Ockner
bdbad87334 6983747: Remove obsolete dl_mutex lock
Unused dl_mutex lock has been removed.

Reviewed-by: hseigel, coleenp, dholmes
2015-04-02 10:12:49 -04:00
Bengt Rutisson
d2f816a875 8076452: Remove SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:08:41 +02:00
Bengt Rutisson
7c5c5d80b7 8076289: Move the StrongRootsScope out of SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:07:27 +02:00
Bengt Rutisson
c3b72f7f5b 8076454: Clean up/move things out of SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:06:07 +02:00
Harold Seigel
64bb2ce311 8076236: VM permits illegal flags for class init method
Move check for multiple access flags so that it also covers instance initialization methods

Reviewed-by: ctornqvi, lfoltan
2015-04-02 08:50:10 -04:00
Jaroslav Bachorik
b89433f7cd 8076344: serviceability/dcmd/vm/SetVMFlagTest.java test fails with "java.lang.Error: 'MaxHeapSize' flag is not available or immutable"
Reviewed-by: sla
2015-04-02 12:14:43 +02:00
Stefan Karlsson
d71d16b043 8076457: Fix includes of inline.hpp in GC code
Reviewed-by: pliden, jmasa
2015-04-02 10:24:24 +02:00
Stefan Karlsson
66fc45f602 8076456: Remove unnecessary oopDesc::klass() calls
Reviewed-by: pliden, jmasa
2015-04-02 10:22:13 +02:00
Stefan Karlsson
232a59cb40 8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
Reviewed-by: brutisso, coleenp, kbarrett, sjohanss
2015-04-02 10:04:27 +02:00
Jaroslav Bachorik
afa2dbda46 Merge 2015-04-02 07:44:55 +00:00
Per Lidén
c0af548c2b 8076447: Remove unused MemoryManager::kind()
Reviewed-by: stefank, tschatzl
2015-04-02 09:14:16 +02:00
Coleen Phillimore
21305d00f5 Merge 2015-04-02 02:20:54 +00:00
Coleen Phillimore
f0035b701e 8076492: Make common code from template interpreter code
Move case statement out of assembly code

Reviewed-by: minqi, sspitsyn, dholmes
2015-04-01 22:03:17 -04:00
Lana Steuck
5c98bd203c Merge 2015-04-01 12:30:00 -07:00
Max Ockner
eaf7ce63dd 8078349: remove dead code - fast_iagetfield
Unused function fast_iagetfield has been removed.

Reviewed-by: hseigel, coleenp
2015-04-01 15:13:48 -04:00
Staffan Larsen
d350f07d51 8076450: com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java: assert(!on_C_heap() || allocated_on_C_heap()) failed: growable array must be on C heap if elements are
Reviewed-by: fparain, mgronlun, dholmes
2015-04-01 15:27:04 +02:00
David Lindholm
b6009d4a48 8016276: CMS concurrentMarkSweepGeneration contains lots of unnecessary allocation failure handling
Reviewed-by: stefank, pliden
2015-04-01 12:34:26 +02:00
Bengt Rutisson
bedce0572a 8076314: Remove the static instance variable SharedHeap:: _sh
Reviewed-by: pliden, jmasa
2015-04-02 06:42:24 +02:00
Alejandro Murillo
15fdeb838c Merge 2015-03-31 11:13:08 -07:00
Thomas Stuefe
1afbc04d56 8076185: Provide SafeFetchX implementation for zero
Implement SafeFetchX for zero using setjmp/longjmp and Posix TLS

Reviewed-by: sgehwolf, dholmes
2015-03-31 05:30:36 -04:00
Coleen Phillimore
38c3337610 Merge 2015-03-31 02:11:09 +00:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Coleen Phillimore
6ee6fe38a0 Merge 2015-03-30 19:27:30 +00:00
Christian Tornqvist
67e0ba13c0 Merge 2015-03-30 16:47:42 +00:00
Christian Tornqvist
9f677f4e21 8075438: [TESTBUG] Hotspot JTREG tests should use unique CDS archive names
Reviewed-by: hseigel, gtriantafill
2015-03-30 08:28:07 -07:00
Max Ockner
f0fa5ca5f0 8074718: Merge templateTable_x86 _32 and _64 .hpp files
TemplateTable_x86 32 and 64 bit files have been merged.

Reviewed-by: hseigel, coleenp
2015-03-30 09:47:52 -04:00
Severin Gehwolf
e1598c8a28 8076181: bytecodeInterpreter.cpp refers to unknown labels
Reviewed-by: coleenp, dholmes
2015-03-27 16:12:40 +01:00
Alejandro Murillo
4811592f50 Merge 2015-03-26 13:54:11 -07:00
David Katleman
880e15f490 Added tag jdk9-b56 for changeset e484d3735f41 2015-03-26 13:09:03 -07:00
Alexander Kulyakthin
01b9971365 8075586: Add @modules as needed to the open hotspot tests
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Jesper Wilhelmsson
33a887ef0e Merge 2015-03-26 14:42:13 +01:00
Goetz Lindenmaier
cd3cc29559 8076057: aix: After 8075506, aix does not support large pages
Reviewed-by: kvn
2015-03-26 11:05:03 +01:00
Kirill Zhaldybin
d4860ee85e 8071546: hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java has been fixed, but still is in the exclude list
Deleted @ignore clause

Reviewed-by: iignatyev
2015-04-13 15:02:35 +03:00
Tobias Hartmann
03116a7e0e 8076625: IndexOutOfBoundsException in HeapByteBufferTest.java
Use Utils::getRandomInstance and nextInt to get reproducable and limited random values.

Reviewed-by: kvn, vlivanov
2015-04-13 07:00:47 +02:00
Igor Veresov
1b5090da9e 8076968: PICL based initialization of L2 cache line size on some SPARC systems is incorrect
Chcek both l2-dcache-line-size and l2-cache-line-size properties to determine the size of the line

Reviewed-by: kvn
2015-04-06 20:20:17 -07:00
Vladimir Kozlov
b72eca85b5 Merge 2015-04-03 11:41:01 -07:00
Vladimir Kozlov
81bb7521bd 8076523: assert(((ABS(iv_adjustment_in_bytes) % elt_size) == 0)) fails in superword.cpp
Check that offset % mem_oper_size == 0 when alignment is verified during vectorization.

Reviewed-by: iveresov
2015-04-02 17:16:39 -07:00
Roland Westrelin
86e3a8d9f4 Merge 2015-04-02 10:38:36 +00:00
Volker Simonis
1bcb57c8de 8076532: Fix format warning/error in methodHandles_ppc.cpp
Reviewed-by: dholmes
2015-04-02 11:28:55 +02:00
Michael C Berg
9e55e44c85 8074981: Integer/FP scalar reduction optimization
Add scalar reduction optimization to C2 to take advantage of vector instructions in modern x86 CPUs.

Reviewed-by: kvn, twisti
2015-04-01 18:07:50 -07:00
Roland Westrelin
7c5d30b0e3 8075587: Compilation of constant array containing different sub classes crashes the JVM
Meet of 2 constant arrays result in bottom

Reviewed-by: kvn
2015-03-27 13:47:33 +01:00
Andrew Haley
1dfbc44c1f 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Roland Westrelin
61aa1cfdef 8075921: assert assert(allocx == alloc) fails in library_call.cpp
Control becomes top after arraycopy guards and confuses tighly coupled allocation logic

Reviewed-by: kvn, vlivanov
2015-03-27 08:58:45 +01:00
Roland Westrelin
2a18e44777 Merge 2015-03-30 08:03:47 +00:00
Tobias Hartmann
f41f86bff1 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:54:23 +02:00
Zoltan Majo
0129e6502d Merge 2015-03-27 15:08:13 +00:00
Zoltan Majo
357e482f8c Merge 2015-03-27 14:52:45 +00:00
Zoltan Majo
b690259da4 Merge 2015-03-27 10:19:18 +00:00
Zoltan Majo
5555698353 8075798: Allow ADLC register class to depend on runtime conditions also for cisc-spillable classes
Introduce a new register class, reg_class_dynamic, that supports also cist-spillable masks.

Reviewed-by: kvn, dlong, roland
2015-03-27 10:57:42 +01:00
Zoltan Majo
90e9ec4634 Merge 2015-03-27 09:02:53 +01:00
Jaroslav Bachorik
c8b0b0b85c 8023093: Add ManagementAgent.status diagnostic command
Reviewed-by: sla
2015-03-26 10:37:10 +01:00
Jesper Wilhelmsson
edbd6cb695 8076012: SA don't support flags of type size_t
Added support for flags of type size_t in VM.Flags

Reviewed-by: sla, kbarrett
2015-03-25 19:50:00 +01:00
Ed Nevill
87529b4864 8075860: aarch64: jdk9/dev fails to build
Fix undefined os::Linux::ucontext_set_pc in aarch64 build

Reviewed-by: kvn
2015-03-25 10:24:51 -07:00
Volker Simonis
12008d9c8f 8075858: AIX: clean-up HotSpot make files
Reviewed-by: kvn
2015-03-25 15:50:17 +01:00
Roland Westrelin
1c38036fd8 8075922: assert(t == t_no_spec) fails in phaseX.cpp
Subgraph becomes dead RegionNode::Ideal() but is not destroyed

Reviewed-by: kvn, vlivanov
2015-03-25 14:25:53 +01:00
Stefan Karlsson
602b7d79e9 8075829: Move CSpaceCounters implementation to cSpaceCounters.cpp
Reviewed-by: jwilhelm, brutisso
2015-03-25 10:13:56 +01:00
Stefan Karlsson
b980d93909 8075809: Add missing includes of stack.inline.hpp
Reviewed-by: jmasa, pliden
2015-03-25 10:08:09 +01:00
Stefan Karlsson
0c57e77d43 8075803: Fix GC includes and forward declarations
Reviewed-by: pliden, mgerdin
2015-03-24 11:21:21 +01:00
Mikael Gerdin
8efb3ab7c1 8075511: Enable -Woverloaded-virtual C++ warning for HotSpot build
Reviewed-by: erikj, simonis, ehelin
2015-03-24 13:49:56 +01:00
Roland Westrelin
05ea4dbf1e 8069191: moving predicate out of loops may cause array accesses to bypass null check
Remove CastPP nodes only during final graph reshape

Reviewed-by: kvn, jrose
2015-03-24 10:25:09 +01:00
Sandhya Viswanathan
51fd716978 8078113: 8011102 changes may cause incorrect results
Replace Vzeroupper instruction in stubs with zeroing only used ymm registers.

Reviewed-by: kvn
2015-04-17 17:39:19 -07:00
Goetz Lindenmaier
22425d93ca 8077843: adlc: allow nodes that use TEMP inputs in expand rules
Reviewed-by: kvn
2015-04-15 14:51:56 +02:00
Vladimir Ivanov
34eda6d782 Merge 2015-04-17 16:45:55 +00:00
Vladimir Ivanov
f98a23137c 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:17:06 +03:00
Roland Westrelin
6862ecfe16 8077832: SA's dumpreplaydata, dumpcfg and buildreplayjars are broken
SA code out of sync with hotspot code

Reviewed-by: dsamersoff, sla, kvn
2015-04-15 11:36:42 +02:00
Stefan Johansson
7f727ff4df 8075735: Missing include causes minimal build failure
Added the missing include.

Reviewed-by: jprovino, dholmes, stefank
2015-03-24 10:24:31 +01:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Alejandro Murillo
7ce244a2eb Merge 2015-03-23 11:44:41 -07:00
Roland Westrelin
b81d606a4c 8075663: compiler/rangechecks/TestExplicitRangeChecks.java fails in compiler nightlies
-Xmixed following -Xcomp doesn't undo the effect of -Xcomp with tiered on

Reviewed-by: kvn, vlivanov
2015-03-23 17:09:41 +01:00
Roland Westrelin
ef217cba65 8076094: CheckCastPPNode::Value() has outdated logic for constants
Outdated logic for constants in CheckCastPPNode::Value()

Reviewed-by: kvn, vlivanov
2015-03-23 14:21:17 +01:00
Roland Westrelin
05a8df78b3 Merge 2015-03-23 11:20:38 +00:00
Jaroslav Bachorik
a16c45029d 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'
Reviewed-by: sla, fparain, egahlin, ykantser
2015-03-23 11:46:15 +01:00
Harold Seigel
1665046b90 Merge 2015-03-29 09:20:27 -04:00
Goetz Lindenmaier
c99a66c76d 8076163: ppc: port "8074345: Enable RewriteBytecodes when VM runs with CDS"
Reviewed-by: coleenp, simonis, mdoerr
2015-03-27 12:43:45 +01:00
Coleen Phillimore
b115f80cb5 8075967: Zero interpreter asserts for SafeFetch<32,N> calls in ObjectMonitor
Implement SafeFetchX unsafely and make CanUseSafeFetchX false for Zero

Reviewed-by: sgehwolf, dholmes
2015-03-25 22:27:51 -04:00
Yumin Qi
3e6cf09c39 8074345: Enable RewriteBytecodes when VM runs with CDS
Enable bytecode rewriting when CDS turned on.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: coleenp, iklam
2015-03-25 15:18:37 -07:00
Katja Kantserova
c08ffb03e4 Merge 2015-03-25 15:22:44 +00:00
Harold Seigel
257436004b 7127066: Class verifier accepts an invalid class file
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.

Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Katja Kantserova
e8495c6494 8075818: serviceability/threads/TestFalseDeadLock.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:38:50 +01:00
Erik Joelsson
4adcfcd75c 8075725: Remove /jre subdir in hotspot dist dir
Reviewed-by: tbell, ihse
2015-03-25 09:37:59 +01:00
Jaroslav Bachorik
c5cefb4d20 Merge 2015-03-24 16:21:28 +00:00
Jaroslav Bachorik
af45a8044e 8024055: serviceability/attach/AttachWithStalePidFile.java createJavaPidFile() fails
Reviewed-by: sla, sspitsyn
2015-03-24 15:03:07 +01:00
Severin Gehwolf
e1d7a11c64 8075533: Zero JVM segfaults for -version after JDK-8074552
Remove SafeFetchXX Zero implementations and guard test with CanUseSafeFetchXX

Reviewed-by: simonis, coleenp
2015-03-23 13:53:44 +01:00
Tobias Hartmann
869a12fdab 8075136: Unnecessary sign extension for byte array access
Added C2 matching rules to remove unnecessary sign extension for byte array access.

Reviewed-by: roland, kvn, aph, adinn
2015-03-23 10:15:53 +01:00
Tobias Hartmann
3bc3f7cd49 8075324: Costs of memory operands in aarch64.ad are inconsistent
Made cost of 'indOffI' consistent to the other memory operands.

Reviewed-by: roland, aph, adinn
2015-03-23 10:13:18 +01:00
Tatiana Pivovarova
9ed9ae6214 8075488: compiler/whitebox/DeoptimizeFramesTest fails with exit code 1 due to unrecognized VM option -XX:+IgnoreUnexpectedVMOptions
Reviewed-by: kvn
2015-03-21 21:47:49 +03:00
Daniel D. Daugherty
3964f24750 Merge 2015-03-20 15:19:30 -07:00
Vladimir Ivanov
b64245d163 Merge 2015-03-20 20:32:07 +00:00
Vladimir Ivanov
879642dc68 8074548: Never-taken branches cause repeated deopts in MHs.GWT case
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
43dbb43fb5 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
ad99060af9 8075266: Show runtime call details when printing machine code
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
d6f7c9f4a6 8075269: Extend -XX:CompileCommand=print,* to work for MethodHandle.invokeBasic/linkTo*
Reviewed-by: jrose, kvn, dlong
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
e53337224d 8075270: Print locals & stack slots location for PcDescs
Reviewed-by: kvn, jrose
2015-03-20 11:41:34 -07:00
Andrew Haley
f82562e36e 8075443: AARCH64: Missed L2I optimizations in C2
Use iRegIOrL2I for input operands whenever it makes sense.

Reviewed-by: kvn
2015-03-20 17:39:29 +00:00
Zoltan Majo
9755168fe2 Merge 2015-03-20 11:53:01 +01:00
Lana Steuck
c88afadada Merge 2015-03-19 16:13:07 -07:00
Alejandro Murillo
b83414f119 Merge 2015-03-19 15:00:51 -07:00
David Katleman
8406d7ff8e Added tag jdk9-b55 for changeset 18da5010f46a 2015-03-19 12:59:19 -07:00
Max Ockner
0d9de873f4 8072128: mutexLocker.cpp _mutex_array[] initialization broken with safepoint check change
Fixed missing "++" in _mutex_array[] initialization.

Reviewed-by: dholmes, fparain
2015-03-19 15:30:06 -04:00
Serguei Spitsyn
cc2bb40bf3 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Use method cpref and klass version to provide meaningful methods name in stacktraces

Reviewed-by: coleenp, dcubed
2015-03-20 02:44:51 -07:00
Coleen Phillimore
f2ecc46c20 Merge 2015-03-19 23:33:38 +00:00
Daniel D. Daugherty
295d64e29f Merge 2015-03-19 14:28:44 -07:00
Coleen Phillimore
ea3e362117 Merge 2015-03-19 21:11:18 +00:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Coleen Phillimore
01893ae525 8005521: StressMethodComparator is not thread-safe
Remove the debug option. It isn't correct or tested.

Reviewed-by: gtriantafill, dholmes, sspitsyn
2015-03-19 09:47:27 -04:00
Thomas Stuefe
addb7b0b0f 8075505: aix: improve handling of native memory
Reviewed-by: kvn, stuefe
2015-03-19 14:30:52 +01:00
Harold Seigel
bbd0191aea 8075118: JVM stuck in infinite loop during verification
Keep a list of handlers to prevent the same handler from being scanned repeatedly.

Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Dmitry Dmitriev
15f8d6fc9c 8075216: Remove old flags, regarding to JDK9, from obsolete_jvm_flags
Reviewed-by: dholmes, simonis, gziemski
2015-03-18 17:45:47 -04:00
Erik Joelsson
dae5ac017d 8075140: Solaris build of native libraries not consistently using EXTRA_CFLAGS and EXTRA_LDFLAGS
Reviewed-by: ihse, tbell, dholmes
2015-03-18 12:02:44 +01:00
Erik Joelsson
c720b743e5 8072897: File sawindbg.dll has incorrect file version
Reviewed-by: tbell, dholmes
2015-03-18 10:22:24 +01:00
Jon Masamitsu
473bf6175f 8017462: G1: guarantee fails with UseDynamicNumberOfGCThreads
Reviewed-by: tschatzl, brutisso
2015-03-17 11:19:05 -07:00
Per Lidén
cee2c148bc 8076294: Cleanup of CollectedHeap::kind()
Reviewed-by: stefank, ecaspole
2015-04-01 10:49:08 +02:00
Kim Barrett
be607cf8cf 8075401: Remove DiscoveredListIterator::update_discovered()
Remove unnecessary function

Reviewed-by: brutisso, jwilhelm, ecaspole
2015-03-30 10:24:00 -04:00
David Lindholm
5449ba9220 8076173: VirtualSpaceNode container_count() and container_count_slow() have different return types
Reviewed-by: pliden, stefank
2015-03-31 11:34:35 +02:00
Bengt Rutisson
68ad80c022 8076241: Remove unused methods mod_card_iterate() and non_clean_card_iterate_serial()
Reviewed-by: kbarrett, pliden, stefank
2015-03-31 11:29:21 +02:00
Bengt Rutisson
a5e42354fe 8076237: Remove unused _collector_policy field in SharedHeap
Reviewed-by: jwilhelm, drwhite, stefank
2015-03-31 11:27:20 +02:00
Per Lidén
ff23a17283 8076231: Remove unused is_in_partial_collection()
Reviewed-by: brutisso, drwhite
2015-03-31 08:27:30 +02:00
Mikael Gerdin
062cf882e0 8076225: Move the thread claim parity from SharedHeap to Thread
Reviewed-by: brutisso, jwilhelm, kbarrett
2015-03-31 07:54:56 +02:00
Jesper Wilhelmsson
0efa369ffb Merge 2015-03-30 17:21:54 +02:00
David Lindholm
4e7e0848a7 8076073: shared: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: stefank, brutisso
2015-03-27 15:29:19 +01:00
David Lindholm
28d7b8200d 8076072: parNew: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: stefank, brutisso
2015-03-27 15:27:14 +01:00
David Lindholm
bbadc1626f 8076071: parallelScavenge: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, mgerdin, stefank
2015-03-27 15:24:49 +01:00
David Lindholm
04fdb5ca76 8076055: cms: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, tschatzl
2015-03-27 15:10:11 +01:00
David Lindholm
dcd40878af 8076054: g1: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, stefank
2015-03-27 15:03:44 +01:00
Bengt Rutisson
fd46a24a3e 8076076: Move SharedHeap::print_size_transition() into G1 code
Reviewed-by: tschatzl, mgerdin
2015-03-27 09:28:47 +01:00
Andrew Haley
2fc2ef9a39 8075045: AARCH64: Stack banging should use store rather than load
Change stack bangs to use a store rather than a load

Reviewed-by: dholmes
2015-03-17 14:03:05 +00:00
Roland Westrelin
71e31ee0b9 8073480: C2 should optimize explicit range checks
Explicit range checks should be recognized by C2

Reviewed-by: kvn, vlivanov
2015-03-17 10:06:31 +01:00
Alejandro Murillo
f0349a463b Merge 2015-03-16 14:27:33 -07:00
Jesper Wilhelmsson
2c63bc9175 8075635: Remove GenerationSpec array
Replaced the array with explicit variables for young and old

Reviewed-by: kbarrett, mgerdin
2015-03-16 13:28:27 +01:00
Stefan Karlsson
0a05ebc7f7 Merge 2015-03-26 11:00:49 +00:00
Stefan Karlsson
ba1d121fe0 8075957: Reduce calls to the GC specific object visitors in oopDesc
Reviewed-by: brutisso, mgerdin, pliden
2015-03-26 11:28:19 +01:00
Roland Westrelin
0258ef4abc 8073866: Fix for 8064703 is not sufficient
Side effects between allocation and arraycopy can be reexecuted, unreachable uninitialized array can be seen by GCs

Reviewed-by: kvn, vlivanov
2015-03-16 12:24:06 +01:00
Igor Ignatyev
f51a895f42 Merge 2015-03-14 16:13:48 +00:00
Zoltan Majo
41b79b9ad4 8074869: C2 code generator can replace -0.0f with +0.0f on Linux
Instead of 'fpclass', use cast float->int and double->long to check if value is +0.0f and +0.0d, respectively.

Reviewed-by: kvn, simonis, dlong
2015-03-14 11:21:04 +01:00
Coleen Phillimore
34a23fb48a Merge 2015-03-13 20:44:57 +00:00
Coleen Phillimore
cd6b38c449 8074717: Merge interp_masm files for x86 _32 and _64
Merge interp_masm_x86 files into one.

Reviewed-by: sspitsyn, hseigel, mockner
2015-03-13 15:16:07 -04:00
Coleen Phillimore
57f3125882 Merge 2015-03-13 18:59:41 +00:00
Igor Ignatyev
140bf2be86 8073607: add trace events for inlining
Reviewed-by: kvn, fzhinkin, mgronlun
2015-03-13 21:53:13 +03:00
Coleen Phillimore
7b384c6958 8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
Only do full metadata walk during class redefinition and only walk handles during class unloading.

Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Daniel D. Daugherty
6029190551 Merge 2015-03-13 09:18:28 -07:00
Andrew Haley
dbb33fd997 Merge 2015-03-13 12:44:58 +00:00
Andrew Haley
bb8dc09453 8074723: AARCH64: Stray pop in C1 LIR_Assembler::emit_profile_type
Remove stray POP instruction

Reviewed-by: dholmes
2015-03-13 12:44:28 +00:00
Lana Steuck
8845a548d1 Merge 2015-03-12 21:14:33 -07:00
Vladimir Kozlov
2632925f9f Merge 2015-03-12 15:51:12 -07:00
David Katleman
dfe48249b5 Added tag jdk9-b54 for changeset 2bf25ac4195f 2015-03-12 13:35:04 -07:00
Igor Ignatyev
cc89bac7ab 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:25 +03:00
Igor Ignatyev
b78d23ed01 8073860: [TESTBUG] compiler/whitebox/DeoptimizeFramesTest fails with exit code 1
Reviewed-by: kvn, roland
2015-03-12 19:12:52 +03:00
Jesper Wilhelmsson
122a0de7fb Merge 2015-03-12 16:10:58 +01:00
Roland Westrelin
44381600a5 8069263: assert(fm == NULL || fm->method_holder() == _participants[n]) failed: sanity
Default methods added to classes confuse dependency processing

Reviewed-by: kvn
2015-03-12 14:15:09 +01:00
Chris Plummer
984cf4c9b5 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:19 -07:00
Thomas Stufe
33690bd090 8074552: SafeFetch32 and SafeFetchN do not work in error handling
Reviewed-by: dholmes, goetz
2015-03-12 19:34:50 -04:00
Dmitry Dmitriev
cc658928be 8073990: Deprecated "UseVectoredExceptions" VM options still defined in several globals files
Reviewed-by: dholmes, stuefe, simonis
2015-03-11 18:49:22 -04:00
Mikael Vidstedt
2b6f0b511f 6313046: Remove unused frame::native_param_addr code
Removed dead code in frame

Reviewed-by: dholmes, cjplummer, dsamersoff
2015-03-11 12:00:26 -07:00
Markus Grönlund
fc9ab8f530 8074905: Exclude aarch64 from Visual Studio projectcreator.make
Reviewed-by: ctornqvi, sla, minqi
2015-03-11 09:11:33 +01:00
Severin Gehwolf
e14531956d 8074312: Enable hotspot builds on 4.x Linux kernels
Add "4" to list of allowable versions

Reviewed-by: dholmes, mikael
2015-03-10 21:20:10 -04:00
Mikael Vidstedt
017611edae 8074726: Update source and target version used when compiling hotspot class files
Use BOOT_JDK_SOURCETARGET from top level, or fall back to -source 8 -target 8

Reviewed-by: dholmes, sla
2015-03-10 09:42:23 -07:00
Christian Tornqvist
06a745fd7e 8069124: runtime/NMT/MallocSiteHashOverflow.java failing in nightlies
Reviewed-by: coleenp, gtriantafill, dholmes
2015-03-10 04:53:58 -07:00
Max Ockner
ca4b73ad27 8013393: Merge template interpreter files for x86 _32 and _64
The 32 and 64 bit versions of templateTable_x86 have been merged.

Reviewed-by: twisti, jrose, coleenp
2015-03-09 13:39:24 -04:00
Sangheon Kim
1a4c355bbc 8073654: Marking statistics should use size_t
Change data type from int to size_t to avoid overflows

Reviewed-by: jwilhelm, drwhite, tschatzl
2015-03-09 09:30:16 -07:00
Erik Helin
80e6b007d0 Merge 2015-03-09 11:37:59 +00:00
Gerald Thornbrugh
808f9cab05 8071501: perfMemory_solaris.cpp failing to compile with "Error: dd_fd is not a member of DIR."
Force all Solaris builds to use the same version of the DIR structure.

Reviewed-by: dcubed, dholmes, kvn
2015-03-06 17:19:08 -08:00
Daniel D. Daugherty
38b93bbbcb Merge 2015-03-06 08:47:51 -08:00
Axel Siebenborn
1a8c911881 8074561: Wrong volatile qualifier for field ClassLoaderDataGraphKlassIteratorAtomic::_next_klass
Reviewed-by: mgerdin, stefank
2015-03-06 16:47:46 +01:00
Thomas Stuefe
d0d14d12ca 8074543: Missing symbol "objArrayOopDesc::obj_at" when buiding with CPP Interpreter
Reviewed-by: stefank
2015-03-09 08:22:34 +01:00
Jesper Wilhelmsson
5b71ef55a7 Merge 2015-03-09 01:58:59 +01:00
Andrey Zakharov
179f7eb9ff 8051984: @ignore should be placed after @test
As ignore reason has been fixed (by adding @requires) @ignore removed

Reviewed-by: kbarrett, brutisso
2015-03-06 16:12:54 +01:00
Alejandro Murillo
cf1f3d308b Merge 2015-03-06 04:58:52 -08:00
Staffan Friberg
67fddc10a6 8031538: G1 eden usage is sometimes higher than target eden (printed Eden size)
When recalculating the number of target eden size, correctly consider the amount of existing eden regions in the target calculation.

Reviewed-by: tschatzl
2015-03-06 09:07:33 +01:00
Zoltan Majo
78b1c29418 Merge 2015-03-06 08:53:22 +01:00
Lana Steuck
3b60a5c6e0 Merge 2015-03-05 15:21:35 -08:00
David Katleman
e3a2a22af9 Added tag jdk9-b53 for changeset 9bbd69ad1f34 2015-03-05 11:26:13 -08:00
Jesper Wilhelmsson
3ea0bee55c Merge 2015-03-05 17:27:16 +01:00
David Lindholm
8fe1e48f0c 8073545: Use shorter and more descriptive names for GC worker threads
Reviewed-by: ehelin, jwilhelm
2015-03-05 16:43:26 +01:00
Dmitry Dmitriev
9fae485dab 8073861: Unused VM Options in JDK9 HotSpot
Reviewed-by: dholmes, lfoltan
2015-03-04 16:35:58 -05:00
Kim Barrett
0401cdb946 8074319: barrier_set_cast defined via friend injection
Changed the in-class definition to a friend declaration and move the definition to namespace scope

Reviewed-by: jwilhelm, simonis
2015-03-04 02:23:38 +01:00
Kevin Walls
e616017fc8 8073688: Infinite loop reading types during jmap attach
Reviewed-by: dsamersoff, sla
2015-03-03 19:42:09 +00:00
Erik Osterlund
c2a4574760 7143664: Clean up OrderAccess implementations and usage
Clarify and correct the abstract model for memory barriers provided by the orderAccess class. Refactor the implementations using template specialization to allow the bulk of the code to be shared, with platform specific customizations applied as needed.

Reviewed-by: acorn, dcubed, dholmes, dlong, goetz, kbarrett, sgehwolf
2015-03-03 19:20:26 -05:00
Markus Grönlund
8c5e105bac 8073042: jcmd hangs until another jcmd is executed (which, in turn also hangs)
Reviewed-by: jbachorik, dsamersoff, farvidsson
2015-03-03 20:17:07 +01:00
Jesper Wilhelmsson
25c5065b89 Merge 2015-03-03 19:21:45 +01:00
Andrew Haley
45d5073b91 8074349: AARCH64: C2 generates poor code for some byte and character stores
Use iRegIorL2I as src input for char and byte stores.

Reviewed-by: kvn
2015-03-03 17:56:33 +00:00
Jesper Wilhelmsson
c1bc0a31b2 8074459: Flags handling memory sizes should be of type size_t
Changed the type to size_t for flags that handles memory sizes

Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01:00
Alejandro Murillo
94ddb7fc72 Merge 2015-03-03 06:23:49 -08:00
Roland Westrelin
2c277304d8 8073957: assert(ary_src != 0) failed: not an array or instance?
ArrayCopyNode going dead needs better validation of inputs

Reviewed-by: kvn, vlivanov
2015-03-03 12:30:07 +01:00
Daniel D. Daugherty
12cd46edc9 8072439: fix for 8047720 may need more work
Cleanup PeriodTask_lock usage. Also reviewed by varming@gmail.com.

Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dholmes, dcubed, mgronlun, coleenp
2015-03-02 16:31:25 -08:00
Andrew Dinn
539384a8d2 8074119: [AARCH64] stage repo misses fixes from several Hotspot changes
Add shared code changes from 8059606, 8069230, 8068976, 8068977, 8072911 and 8071805

Reviewed-by: aph, kvn
2015-03-02 10:31:52 -08:00
Vladimir Ivanov
361f1ae295 Merge 2015-03-02 18:12:06 +00:00
Vladimir Kozlov
6fd49139e8 Merge 2015-03-02 10:09:33 -08:00
Tobias Hartmann
2b2dec1ea4 Merge 2015-03-02 15:20:38 +00:00
Vladimir Ivanov
b4b2912109 Merge 2015-03-02 07:20:09 -08:00
Jesper Wilhelmsson
8107130954 8071335: gc/TestSmallHeap.java throw OOM
To avoid OOME, do not run with -Xcomp

Reviewed-by: brutisso, tschatzl
2015-03-02 16:19:59 +01:00
Thomas Schatzl
77fc522153 Merge 2015-03-03 13:25:23 +00:00
Thomas Schatzl
2d22f2780c 8073466: Remove buffer retaining functionality and clean up in ParGCAllocBuffer
Reviewed-by: jmasa, kbarrett
2015-03-03 12:38:42 +01:00
David Lindholm
a827cdfa10 8073464: GC workers do not have thread names
Reviewed-by: brutisso, tschatzl
2015-03-03 12:19:35 +01:00
Tobias Hartmann
e5f039dbfb Merge 2015-03-02 15:11:55 +00:00
Christian Tornqvist
6465239986 Merge 2015-03-02 05:32:01 -08:00
Tobias Hartmann
9e655cb7ea Merge 2015-03-02 13:28:06 +00:00
Tobias Hartmann
b4420f1516 8006960: hotspot, "impossible" assertion failure
Escape state of allocated object should be always adjusted after it was passed to a method.

Reviewed-by: kvn
2015-03-02 13:40:40 +01:00
Tobias Hartmann
3f42ccd0ff 8073956: Escape analysis dump misses args information
Fixed output of PrintEscapeAnalysis.

Reviewed-by: kvn
2015-03-02 13:16:07 +01:00
Igor Ignatyev
450835d136 Merge 2015-03-02 11:15:09 +00:00
Stefan Johansson
9f7fa061c5 8073944: Simplify ArgumentsExt and remove unneeded functionallity
Reviewed-by: kbarrett, dholmes
2015-03-02 11:08:09 +01:00
Joseph Provino
67fb17a658 8067891: Remove vestigal G1SATBCT barrier set kind
Remove all case statements specifying G1SATBCT

Reviewed-by: tschatzl, kbarrett
2015-03-23 12:18:20 +01:00
Bengt Rutisson
8c7781ec72 8027962: Per-phase timing measurements for strong roots processing
Reviewed-by: tschatzl, ecaspole
2015-03-19 15:25:54 +01:00
Kim Barrett
40d3986051 8069016: Add BarrierSet downcast support
Add FakeRttiSupport utility and use to provide barrier_set_cast.

Reviewed-by: jmasa, sangheki
2015-02-27 19:52:48 -05:00
Harold Seigel
01ed1c9ea6 8073908: Replace hotspot/testlibrary use of sun.management with public API
Use java.lang API's instead of sun.management API's.

Reviewed-by: sla, iignatyev, gtriantafill, mchung
2015-02-27 12:48:06 -05:00
Alejandro Murillo
e7f35f99b5 Merge 2015-02-27 07:34:26 -08:00
Magnus Ihse Bursie
0624f19e6e 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:34 +01:00
Filipp Zhinkin
dbf67b8e69 8073154: NULL-pointer dereferencing in LIR_OpProfileType::print_instr
Reviewed-by: iveresov
2015-02-27 11:41:42 +03:00
Lana Steuck
171f832de9 Merge 2015-02-26 20:17:34 -08:00
David Katleman
435bd0a792 Added tag jdk9-b52 for changeset d638088414a8 2015-02-26 15:57:41 -08:00
Jesper Wilhelmsson
1426bc9dc1 8073883: serviceability/dcmd/gc/RunGCTest.java should not run with -XX:+ExplicitGCInvokesConcurrent
Don't run test with -XX:+ExplicitGCInvokesConcurrent

Reviewed-by: mgerdin
2015-02-26 21:00:03 +01:00
Vladimir Kozlov
239370b736 Merge 2015-02-26 10:56:54 -08:00
Jesper Wilhelmsson
b22466d59d Merge 2015-02-26 19:32:03 +01:00
Andrey Zakharov
fd9d670156 8073950: Quarantine failing test: gc/TestSoftReferencesBehaviorOnOOME.java due to JDK-8073669
Quarantine gc/TestSoftReferencesBehaviorOnOOME.java

Reviewed-by: mgerdin, tschatzl
2015-02-26 17:02:48 +01:00
Dmitry Dmitriev
26261a9600 8069291: [TESTBUG] runtime/threads/Fibonacci: OutOfMemoryError: unable to create native thread
Reviewed-by: dholmes, ctornqvi
2015-02-26 06:11:56 -08:00
Stefan Sarne
fab80a0ca3 8073718: [TESTBUG] Cleanup test output and skip creating mini dumps
Reviewed-by: sla, ctornqvi
2015-02-26 06:11:40 -08:00
Roland Westrelin
25a0458907 8073796: assert(check_obj_alignment(result)) failed: address not aligned: ..
Arrays.copyOf intrinsic can deoptimize with uninitialized new array

Reviewed-by: kvn
2015-02-25 12:33:43 +01:00
Zoltan Majo
b5f763492e Merge 2015-02-28 12:33:50 +00:00
Stefan Anzinger
292cc73546 8073670: TypeF::eq and TypeD::eq do not handle NaNs correctly
Change TypeF:eq and TypeD:eq to compare NaN values using a bitwise comparison.

Reviewed-by: kvn
2015-02-27 13:21:05 +01:00
Roland Westrelin
3a627c0d83 8073792: assert((get_length_if_constant(phase) == -1) == !ary_src->size()->is_con()) failed: inconsistent
Assert in array copy code broken when array size becomes known during igvn

Reviewed-by: kvn, vlivanov
2015-02-25 10:44:38 +01:00
Serguei Spitsyn
942d1f7f32 8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Optimize the adjust_method_entries functions by using the orig_method_idnum() function

Reviewed-by: coleenp, dcubed
2015-02-25 00:30:54 -08:00
Igor Veresov
14cf940405 8073735: compiler/loopopts/CountedLoopProblem.java got OOME
Ignore OOM in the test

Reviewed-by: kvn
2015-02-24 23:31:00 -08:00
Dean Long
aa21fdd0c0 8072383: resolve conflicts between open and closed ports
Refactor close to remove references to closed ports

Reviewed-by: kvn, simonis, dholmes
2015-02-24 17:23:53 -05:00
Vladimir Ivanov
24be5c951c Merge 2015-02-24 17:14:29 +00:00
Vladimir Ivanov
dad72d8a2b Merge 2015-02-24 07:39:22 -08:00
Roland Westrelin
f4f9769cd2 8073184: Compile of java.lang.Integer::getChars fails with LoopLimitCheck = false after 8054478
CastII that guards counted loops confuses range check elimination with LoopLimitCheck off

Reviewed-by: kvn, iveresov
2015-02-24 15:23:05 +01:00
Sergei Kovalev
3d215c0b63 8067822: test/testlibrary_tests/RandomGeneratorTest.java failed on Assert Unexpected random number sequence for mode: NO_SEED
On embedded platforms we have a message in std error. We should not take into account the message. Therefore only std out should be used fo verification.

Reviewed-by: iignatyev, kvn
2015-02-24 15:42:26 +03:00
Sergei Kovalev
7fdd3ff35d 8067162: [TESTBUG] runtime/SharedArchiveFile tests fail on compact profiles
Modified TEST.groups file to exclude two tests from execution on compact profiles.

Reviewed-by: mseledtsov, dholmes, iignatyev
2015-02-24 16:08:25 +03:00
Christian Tornqvist
07a6ab00bc Merge 2015-02-23 05:01:11 -08:00
Tobias Hartmann
37cfc9fb6d 8073257: compiler/codecache/stress/RandomAllocationTest.java + fastdebug + -XX:+LogCompilation, "allocating without ResourceMark"
Added two missing ResourceMarks to 'NMethodSweeper::log_sweep'.

Reviewed-by: kvn, iignatyev
2015-02-23 10:38:26 +01:00
Volker Simonis
3f7a17902e 8073624: Fix waring "converting to non-pointer type 'bool' from NULL" in arraycopynode.cpp
Reviewed-by: roland
2015-02-23 10:32:17 +01:00
Tobias Hartmann
58338525b4 8072774: bigapps/Weblogic+medrec/nowarnings fails due to CodeHeap 'profiled nmethods' exhaustion
Store profiled code in the non-profiled code heap (and vice versa) if the code cache is really full.

Reviewed-by: kvn, iveresov
2015-02-23 07:55:37 +01:00
Alejandro Murillo
908ae8461b Merge 2015-02-20 14:14:08 -08:00
Lana Steuck
685b728f55 Merge 2015-02-19 16:37:05 -08:00
David Katleman
cb126fc539 Added tag jdk9-b51 for changeset 5fb718119516 2015-02-19 11:23:58 -08:00
Vladimir Ivanov
93f9344ff4 Merge 2015-02-19 11:12:59 -08:00
Jesper Wilhelmsson
5c18821ea5 Merge 2015-02-19 12:56:50 +01:00
Christian Tornqvist
b92cbf650b Merge 2015-02-18 19:27:49 -08:00
David Holmes
2a2e56342c 8072055: Argument checking for SE Embedded and ARM should be moved out of arguments.cpp
Reviewed-by: bdelsart, dlong, hseigel, coleenp
2015-02-18 22:19:47 -05:00
Roland Westrelin
88848bd9e8 6912521: System.arraycopy works slower than the simple loop for little lengths
Convert small array copies to series of loads and stores

Reviewed-by: kvn, vlivanov
2015-02-18 18:14:07 +01:00
Dmitrij Pochepko
c71eca0cbf 8068461: compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed: java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-nmethods'
Added filter for invalid testcase

Reviewed-by: kvn, iignatyev
2015-02-19 23:47:01 +03:00
Pavel Punegov
55df61e264 8067012: Don't create MDO for constant getters
Add check if the method is constant getter

Reviewed-by: kvn, iveresov
2015-02-18 16:59:56 +03:00
Pavel Punegov
f8c9e34966 8067157: Closed compiler tests should not be in hotspot/test/TEST.groups
Replace closed/compiler tests with sanity/ExecuteInternalVMTests.java to keep the hotspot_compiler_closed group

Reviewed-by: kvn, zmajo
2015-02-18 16:19:48 +03:00
Igor Ignatyev
0596217df6 8073499: quarantine compiler/tiered/LevelTransitionTest
Reviewed-by: kvn
2015-02-19 23:49:22 +03:00
Erik Joelsson
cf0e1e5323 8072904: building jdk9 with jdk9 boot jdk can cause failure or incorrect results
Reviewed-by: dholmes, dlong
2015-02-18 11:25:34 +01:00
Stefan Karlsson
2e888853a1 8073387: Move VerifyOopClosures out from genOopClosures.hpp
Reviewed-by: brutisso, mgerdin, coleenp
2015-02-18 08:57:29 +01:00
Igor Veresov
f96ca50eca Merge 2015-02-17 21:46:39 +00:00
Igor Veresov
783f2be52f 8072753: Nondeterministic wrong answer on arithmetic
Check for overflow when inverting the loop during the counted loop conversion

Reviewed-by: kvn
2015-02-17 11:00:18 -08:00
David Chase
46fa321d63 8069412: Locks need better debug-printing support
Added better debug-printing support and enhanced LogCompilation tool

Reviewed-by: kvn, roland, dholmes
2015-02-17 13:54:53 -05:00
Harold Seigel
ce4261471b 8068687: Remove meta-index support and cleanup hotspot code for rt.jar etc in non-modular jdk image
Remove the meta-index code and rt.jar code and comments

Reviewed-by: mchung, gtriantafill
2015-02-17 13:19:23 -05:00
Jesper Wilhelmsson
d7f5fccbc6 Merge 2015-02-16 21:24:39 +01:00
Alejandro Murillo
b56016b4fb Merge 2015-02-16 08:47:39 -08:00
Sangheon Kim
14916eab46 8073115: assert(_covered_region.contains(p)) needs better error messages
Changed to print out related values

Reviewed-by: jwilhelm, brutisso, stefank
2015-02-16 08:38:23 -08:00
Goetz Lindenmaier
a7edf52a02 8073315: Enable gcc -Wtype-limits and fix upcoming issues
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.

Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Chris Plummer
9604a593ee 8073167: Undo change to -retain argument in hotspot/test/Makefile
-retain:all changed back to -retain:fail,error

Reviewed-by: stefank
2015-02-14 08:53:57 -08:00
Christian Tornqvist
a72a716adf Merge 2015-02-14 00:03:48 +00:00
Christian Tornqvist
cdb714aeb5 Merge 2015-02-13 15:05:30 -08:00
Jiangli Zhou
9c5033338c Merge 2015-02-13 20:33:25 +00:00
Daniel D. Daugherty
a9e28164eb 8061553: Contended Locking fast enter bucket
JEP-143/JDK-8061553 Contended Locking fast enter bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn
2015-02-13 10:01:42 -08:00
Stefan Karlsson
4913ad5d7d 8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Christian Tornqvist
094674666c Merge 2015-02-13 05:17:41 -08:00
Katja Kantserova
3d3f6553c0 8073132: Eliminate ProcessTools.getProcessId dependency on sun.management.VMManagement
Reviewed-by: jbachorik, dfuchs, mchung
2015-02-13 13:17:13 +01:00
Thomas Stuefe
0d2c28e3b8 8072935: Fix missing newline at end of file after 8067447
Reviewed-by: dholmes, dlong
2015-02-13 06:23:48 -05:00
Jesper Wilhelmsson
0212ed173a Merge 2015-02-13 01:41:06 +01:00
Lana Steuck
25db70d299 Merge 2015-02-12 16:39:35 -08:00
David Katleman
126debe100 Added tag jdk9-b50 for changeset 674362e1d111 2015-02-12 16:23:21 -08:00
Vladimir Ivanov
a1b368700b Merge 2015-02-12 13:55:54 -08:00
Chris Plummer
0b5dffb337 8054888: Runtime: Add Diagnostic Command that prints the class hierarchy
Added the VM.class_hierarhcy DCMD

Reviewed-by: stefank, miauno
2015-02-11 15:22:43 -08:00
Daniel Fuchs
654c893170 8072482: Cleanup: In jvm.cpp and other shared files declaration of 64bits constants should use the CONST64/UCONST64 macros instead of the LL suffix
Reviewed-by: dholmes, coleenp
2015-02-11 17:41:55 +01:00
Marcus Larsson
20bfd4cf7c 8066566: Refactor ParNewGeneration to contain ParNewTracer
Reviewed-by: ehelin, kbarrett
2015-02-11 14:47:21 +01:00
Tom Benson
2c63608419 8065093: Remove unused variable/output argument
Remove total_reserved from GenCollectedHeap::initialize and ::allocate

Reviewed-by: tschatzl, kbarrett
2015-02-10 17:41:19 -05:00
Paul Sandoz
03d00d97a5 Merge 2015-02-10 22:22:36 +00:00
Tom Benson
89d88a42c4 8072056: Remove unnecessary header file #include
TenuredGeneration.cpp needlessly includes parGCAllocBuffer.hpp

Reviewed-by: tschatzl, kbarrett, jprovino
2015-02-10 15:44:42 -05:00
Paul Sandoz
c002e71565 8068977: Remove unused sun.misc.Unsafe prefetch intrinsic support
Reviewed-by: kvn, vlivanov
2015-02-10 21:32:05 +01:00
Coleen Phillimore
8df6ac1794 8068451: Kitchensink fails with assert(_size >= sz) failed: Negative size
Need ThreadCritical lock around chunk pool cleaning and copying for snapshot

Reviewed-by: lfoltan, gtriantafill, hseigel
2015-02-10 15:10:47 -05:00
Alejandro Murillo
bdb9bc84c3 Merge 2015-02-10 10:09:31 -08:00
Paul Sandoz
cc1c11c366 Merge 2015-02-10 16:53:00 +00:00
Stefan Karlsson
c132a5a0a5 8072910: Move the g1EvacFailure.hpp implementation to g1EvacFailure.cpp
Reviewed-by: jwilhelm, tschatzl
2015-02-10 17:16:17 +01:00
Marcus Larsson
71cfff7df1 8066771: Refactor VM GC operations caused by allocation failure
Reviewed-by: brutisso, jmasa
2015-02-13 10:31:52 +01:00
Marcus Larsson
7727fe0044 8072621: Clean up around VM_GC_Operations
Reviewed-by: brutisso, jmasa
2015-02-13 09:48:49 +01:00
Harold Seigel
811df313ff 8072694: Need errno info when CDS archive creation fails
Add errno output to error message when CDS archive creation fails

Reviewed-by: dholmes, lfoltan
2015-02-10 09:25:00 -05:00
Paul Sandoz
a1d993e9ce 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01:00
Kim Barrett
10a50a853f 8071931: Return of the phantom menace
Reviewed-by: mchung, dfuchs, ahgross, brutisso
2015-02-09 13:30:30 -05:00
Jesper Wilhelmsson
832b4db215 8072688: Description of flag ExplicitGCInvokesConcurrent should mention G1 as well
Changed to a more generic description.

Reviewed-by: mgerdin, tschatzl
2015-02-09 17:38:42 +01:00
Roland Westrelin
01716f18f3 8071821: Assert failed in UnexpectedDeoptimizationTest.java
Assert fires in case of concurrent initialization of ciInstanceKlass::_has_injected_fields

Reviewed-by: kvn
2015-02-09 13:45:59 +01:00
Roland Westrelin
e6ac3ca09e 8072016: Array copy may cause infinite cycle of deoptimization/compilation
Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation

Reviewed-by: kvn, vlivanov
2015-02-09 15:10:58 +01:00
Sergei Kovalev
f387f55093 8071811: gc/arguments/TestG1ConcRefinementThreads.java failed on Exception: java.lang.RuntimeException: Actual G1ConcRefinementThreads(0) is not equal to expected value(23)
Reviewed-by: jwilhelm, iignatyev
2015-02-09 09:51:12 +03:00
Andrew Haley
182a191e07 8071947: AARCH64: frame::safe_for_sender() computes incorrect sender_sp value for interpreted frames
Apply the fix for 8068655 to the AArch64 sources.

Reviewed-by: kvn
2015-02-06 10:36:46 -08:00
Andrew Haley
978182d229 8072698: Add AArch64 support to hsdis
Reviewed-by: kvn
2015-02-06 10:21:46 -08:00
Mikael Gerdin
685f6eb32e 8072693: [BACKOUT] GCCause should distinguish jcmd GC.run from System.gc()
Reviewed-by: jwilhelm, tschatzl
2015-02-06 16:24:25 +01:00
Roland Westrelin
a967f754a2 8071999: SA's buildreplayjars fail with exception
Support default methods when dumping classes in SA

Reviewed-by: vlivanov, kvn, dsamersoff
2015-02-06 13:50:44 +01:00
Lana Steuck
4cc06ec416 Merge 2015-02-05 15:44:19 -08:00
Alejandro Murillo
7d4ea26916 Merge 2015-02-05 14:57:52 -08:00
Andrew Haley
86e7982c2c 8072483: AARCH64: aarch64.ad uses the wrong operand class for some operations
Use iReg<X>NoSp registers operands where required.

Reviewed-by: kvn, adinn, enevill
2015-02-05 11:47:33 -08:00
David Katleman
e58a6b0ce9 Added tag jdk9-b49 for changeset 6a22230c068f 2015-02-05 11:43:29 -08:00
Jesper Wilhelmsson
ad23789419 Merge 2015-02-05 12:23:29 +01:00
Christian Tornqvist
edbc932bc7 Merge 2015-02-04 18:22:46 -08:00
Alexander Harlap
3e2dcfd880 8067460: G1: TestResourceManagementFlagWithCommercialBuild.java failed on embedded platform
Added extension point to detect unsupported options

Reviewed-by: dholmes, bdelsart
2015-02-04 13:14:27 -05:00
Daniel Fuchs
13c456e099 8072450: 9-dev build failed on elinux-i586 and rlinux-i586
Added LL suffix to constant declaration

Reviewed-by: dholmes, coleenp, sla
2015-02-04 17:12:03 +01:00
Joseph Provino
00d9c7a2d1 8071805: BarrierSet::Other is not used and should be removed
Remove all occurences of BarrierSet::Other because the barrier set kind is never set to Other.

Reviewed-by: tschatzl, kbarrett
2015-02-04 10:18:28 -05:00