Commit Graph

8398 Commits

Author SHA1 Message Date
Katja Kantserova
fbc3e76d86 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:36:31 +02:00
Severin Gehwolf
f381346db0 8078504: Zero fails to build
Reviewed-by: kvn, simonis
2015-04-23 17:42:06 +02:00
Kim Barrett
878cf5e641 8031401: Remove unused code in the reference processor
Assume pending_list uses discovered field and remove resulting dead code.

Reviewed-by: brutisso, pliden
2015-04-23 11:26:32 -04:00
Roland Westrelin
cb19c4b63a 8078444: compiler/arraycopy/TestArrayCopyNoInitDeopt.java fails with exception 'm2 not deoptimized'
Some platform don't have speculative types

Reviewed-by: kvn
2015-04-23 16:38:08 +02:00
Zoltan Majo
4a038936e3 Merge 2015-04-27 11:01:29 +02:00
Zoltan Majo
a452b030ce 8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.

Reviewed-by: kvn, roland, dlong, enevill, shade
2015-04-27 10:49:43 +02:00
Jesper Wilhelmsson
e8a6f321c1 Merge 2015-04-23 16:09:21 +02:00
Andrey Zakharov
d50c630d1b 8073669: gc/TestSoftReferencesBehaviorOnOOME.java times out in nightlies
Changed test scenario to more straight-forward one, added tricks to prevent compiler optimizations and added checks when OOME didn't thrown as expected.

Reviewed-by: tschatzl, jwilhelm
2015-04-23 15:54:47 +02:00
Goetz Lindenmaier
879707ab31 8078482: ppc: pass thread to throw_AbstractMethodError
Also improve check for Safepoints in signal handler.

Reviewed-by: kvn, simonis
2015-04-23 09:27:02 +02:00
Christian Tornqvist
4a6024895d 8077529: [TESTBUG] Remove hotspot.internalvmtests from jprt config
Reviewed-by: mikael, sla
2015-04-22 13:58:42 -07:00
Kim Barrett
5f1b96662a 8078023: verify_no_cset_oops found reclaimed humongous object in SATB buffer
Removed no longer valid checking of SATB buffers

Reviewed-by: jmasa, pliden
2015-04-22 14:06:49 -04:00
Aleksey Shipilev
dc67bb0a0e 8076987: C1 should support conditional card marks (UseCondCardMark)
Reviewed-by: iveresov, roland
2015-04-22 19:10:03 +03:00
Vladimir Ivanov
b30f24676e 8078309: compiler/jsr292/MHInlineTest.java failed with java.lang.RuntimeException: 'MHInlineTest$A::protected_x (3 bytes) virtual call' found in stdout
Reviewed-by: jrose
2015-04-22 21:33:55 +03:00
Michail Chernov
689d9a58b1 8071462: Remove G1ParGCAllocator::alloc_buffer_waste
Removed G1ParGCAllocator::alloc_buffer_waste, added method to obtain waste

Reviewed-by: tschatzl, sjohanss
2015-04-22 17:05:00 +02:00
Stefan Johansson
ace7f7933e 8077836: Make sure G1ParGCAllocBuffer are marked as retired
Reviewed-by: tschatzl, pliden
2015-04-22 12:58:10 +02:00
Stefan Karlsson
7d01ef4a6e 8078345: Move PSParallelCompact::mark_and_push to ParCompactionManager
Reviewed-by: jwilhelm, brutisso
2015-04-22 10:31:15 +02:00
Thomas Schatzl
f3e710a50e 8076541: Parallel GC registers Java heap twice to NMT
Remove the superfluous call to MemTracker::record_virtual_memory_type() and also a superfluous check whether the space has been successfully reserved.

Reviewed-by: pliden, jmasa
2015-04-22 09:39:38 +02:00
Stefan Karlsson
9631881fe3 8078341: Remove the unused PSParallelCompact::_updated_int_array_klass_obj
Reviewed-by: ehelin, tschatzl
2015-04-22 09:09:42 +02:00
Stefan Karlsson
4357348f6f 8078340: Remove the unused PSParallelCompact::KeepAliveClosure
Reviewed-by: ehelin, tschatzl
2015-04-22 08:29:39 +02:00
Shanliang Jiang
137a04308f 8078144: many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactoryHelper.getDiagnosticMXBean
Reviewed-by: alanb, sla
2015-04-21 10:23:13 +02:00
Goetz Lindenmaier
d65074da2c 8078243: Fix include of stack.inline.hpp in taskqueue.hpp
Reviewed-by: stefank, tschatzl
2015-04-21 10:14:35 +02:00
Dmitry Dmitriev
dba5d6fdc5 8074026: Deprecated UseBoundThreads, DefaultThreadPriority and NoYieldsInMicrolock VM options still defined in globals.hpp
Reviewed-by: dholmes, mseledtsov
2015-04-20 22:07:09 -04:00
David Holmes
650fe66a1b 8077674: BSD build failures due to undefined macros
Reviewed-by: dsamersoff, kbarrett, hseigel
2015-04-20 21:32:28 -04:00
Stefan Karlsson
be6e9b9f50 8042891: Format issues embedded in macros for two g1 source files
Reviewed-by: brutisso, tschatzl
2015-04-20 13:34:04 +02:00
Per Lidén
e4a699552a 8068582: UseSerialGC not always set up properly
Reviewed-by: jmasa, brutisso, sjohanss
2015-04-20 08:53:08 +02:00
Bengt Rutisson
0d5c04e00d 8078156: G1: Remove dead code PrintObjsInRegionClosure
Reviewed-by: tschatzl, sjohanss
2015-04-20 16:18:02 +02:00
Jesper Wilhelmsson
f2ac065c42 Merge 2015-04-20 14:26:54 +02:00
Andrew Haley
a22fc004de 8077308: Fix warning: increase O_BUFLEN in ostream.hpp -- output truncated
Reviewed-by: dholmes, hseigel
2015-04-17 22:50:10 -04:00
Christian Tornqvist
1314bfbc94 Merge 2015-04-17 23:55:04 +00:00
Christian Tornqvist
06aabb4769 8077608: [TESTBUG] Enable Hotspot jtreg tests to run in agentvm mode
Reviewed-by: sla, gtriantafill
2015-04-17 16:12:16 -07:00
Calvin Cheung
7bb3af5d16 Merge 2015-04-17 14:37:20 -07:00
Kim Barrett
c9ebd949ea 8078021: SATB apply_closure_to_completed_buffer should have closure argument
Apply closure directly, eliminating registration.

Reviewed-by: stefank, tschatzl
2015-04-17 13:49:04 -04:00
Mikael Vidstedt
ef932e7b22 8078017: Introduce hotspot_basicvmtest
Reviewed-by: dholmes, kvn
2015-04-17 16:08:41 -07:00
Lana Steuck
1898f0ed83 Merge 2015-04-17 10:24:06 -07:00
Stefan Karlsson
38b7c6db82 Merge 2015-04-17 17:10:38 +00:00
David Katleman
6f2f110804 Added tag jdk9-b60 for changeset b45086ad81ed 2015-04-17 09:59:43 -07:00
Eric Caspole
00b87ab5d1 8077265: Modify assert to help debug JDK-8068448
Added relevant asserts on covered_region for allocation methods in psOldGen.hpp

Reviewed-by: tschatzl, stefank
2015-04-17 10:08:32 -04:00
Goetz Lindenmaier
4160686d59 8078048: Fix non-pch build after "8076457: Fix includes of inline.hpp in GC code"
Reviewed-by: stefank, ehelin
2015-04-17 11:46:56 +02:00
Shanliang Jiang
38e3be4c28 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 10:53:31 +02:00
Stefan Karlsson
5a66ebc90c 8077936: Remove the unused java_lang_invoke_CallSite::target_volatile
Reviewed-by: vlivanov, jrose
2015-04-17 10:46:41 +02:00
Bengt Rutisson
ed2ed17291 8077938: Remove TraceMarkSweep
Reviewed-by: sjohanss, jmasa
2015-04-17 08:09:41 +02:00
Vladimir Kozlov
b9c00b1904 Merge 2015-04-16 14:05:48 -07:00
Daniel D. Daugherty
32a8aa9ade Merge 2015-04-16 19:27:43 +00:00
Daniel D. Daugherty
61f27a0290 Merge 2015-04-16 17:57:18 +00:00
Harold Seigel
6efc431778 Merge 2015-04-16 17:44:26 +00:00
Daniel D. Daugherty
884f0d320f 8073165: Contended Locking fast exit bucket
JEP-143/JDK-8073165 Contended Locking fast exit bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn, dice, dcubed
2015-04-16 08:23:26 -07:00
Max Ockner
1e5e03d8e7 8073989: Deprecated integer options are considered as invalid instead of deprecated in Java 9
Deprecated integer options are now recognized as being deprecated.

Reviewed-by: dholmes, hseigel, ddmitriev
2015-04-16 11:00:10 -04:00
Max Ockner
f272493a76 8029630: Thread id should be displayed as a hex number in error report
Thread id is now displayed as a hex number in error report.

Reviewed-by: dholmes, hseigel, stuefe
2015-04-16 10:30:59 -04:00
Yumin Qi
d30de5ab31 8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com

Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dcubed
2015-04-15 17:34:28 -07:00
Kim Barrett
763048052f 8069367: Eagerly reclaimed humongous objects left on mark stack
Prevent eager reclaim of objects that might be on mark stack.

Reviewed-by: brutisso, tschatzl
2015-04-15 12:16:01 -04:00
Joseph Provino
d27e6d731e 8074545: Rename and clean up the ParGCAllocBuffer class
Rename ParGCAllocBuffer to PLAB and rename affected files.

Reviewed-by: tschatzl, kbarrett
2015-04-15 11:42:20 -04:00
Per Lidén
4fbfdfe87b 8077417: Cleanup of Universe::initialize_heap()
Reviewed-by: stefank, kbarrett
2015-04-16 15:31:20 +02:00
Per Lidén
817138c4f9 Merge 2015-04-16 10:38:06 +00:00
Per Lidén
82de4945ac 8077415: Remove duplicate variables holding the CollectedHeap
Reviewed-by: stefank, kbarrett
2015-04-16 09:28:18 +02:00
Bengt Rutisson
f8c508af0f 8077841: G1: Remove PrintReachable support
Reviewed-by: stefank, tschatzl
2015-04-16 09:16:19 +02:00
Bengt Rutisson
fdcc47e443 8077873: G1: Remove G1SATBPrintStubs
Reviewed-by: kbarrett, tschatzl
2015-04-16 09:13:14 +02:00
Kim Barrett
beede94977 8075466: SATB queue pre-filter verify found reclaimed humongous object
Removed pre-filter verify, and made filtering more careful.

Reviewed-by: brutisso, tschatzl
2015-04-15 16:37:57 -04:00
Igor Ignatyev
71fcf1be02 Merge 2015-04-15 11:23:06 +00:00
Goetz Lindenmaier
5827e6ce0f 8077838: Recent developments for ppc
Power 8 recognition and instructions, math.*Exact intrinsics and rtm, C2 optimizations

Reviewed-by: kvn, simonis
2015-04-15 12:44:56 +02:00
Igor Ignatyev
8fa30e8884 Merge 2015-04-15 09:49:50 +00:00
Roland Westrelin
cb7a08139b 8074676: java.lang.invoke.PermuteArgsTest.java fails with "assert(is_Initialize()) failed: invalid node class"
After guards in Arrays.copyOf() intrinsic, control may become top

Reviewed-by: kvn, vlivanov
2015-04-15 11:01:56 +02:00
Staffan Larsen
47d774ab34 8077364: "if( !this )" construct prevents build on Xcode 6.3
Reviewed-by: stefank, simonis
2015-04-15 09:34:46 +02:00
Sangheon Kim
7d99c72512 8077710: BACKOUT - java hangs with -XX:ParallelGCThreads=0 -XX:+ExplicitGCInvokesConcurrent options
Removed unnecessary guards.

Reviewed-by: stefank, jwilhelm
2015-04-14 09:44:06 -07:00
Andrew Haley
d81e78e8bc 8077615: AARCH64: Add C2 intrinsic for BigInteger::multiplyToLen() method
Add C2 intrinsic for BigInteger::multiplyToLen() on AArch64.

Reviewed-by: kvn
2015-04-14 11:43:18 +01:00
Michael Haupt
1cbf641d91 8076461: JSR292: remove unused native and constants
Reviewed-by: jrose, vlivanov
2015-04-14 18:16:10 +03:00
Vladimir Ivanov
5ff12acb9d 8062280: C2: inlining failure due to access checks being too strict
Reviewed-by: kvn
2015-04-14 18:11:06 +03:00
Vladimir Ivanov
ce40bf07b2 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:43 +03:00
Bengt Rutisson
8e2f1d5560 8077403: Remove guarantee from GenCollectedHeap::is_in()
Reviewed-by: mgerdin, jmasa
2015-04-14 11:24:03 +02:00
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