Commit Graph

10115 Commits

Author SHA1 Message Date
Max Ockner
28c6b5ad89 8146485: Add test for Unified Logging classresolve tag
Test has been added for Unified Logging classresolve tag.

Reviewed-by: coleenp, gtriantafill
2016-01-06 09:39:55 -05:00
Joseph Provino
7a673ca72d Merge 2016-01-06 02:32:13 +00:00
Rachel Protacio
9ab99c633d 8146481: Disable runtime/logging/DefaultMethodsTest.java
@ignore'd DefaultMethodsTest.java

Reviewed-by: gtriantafill, coleenp, hseigel
2016-01-05 18:23:14 +00:00
Ioi Lam
4e9dd68311 8145593: Clean up metaspaceShared.cpp
Reviewed-by: jiangli
2016-01-04 13:57:34 -08:00
Goetz Lindenmaier
b26df6b69f 8146401: Clean up oop.hpp: add inline directives and fix header files
Reviewed-by: coleenp
2016-01-04 15:41:05 +01:00
Marcus Larsson
cc9cd893ac 8145294: TestLogRotation.java triggers a race in the UL framework
Reviewed-by: sla, mgronlun
2016-01-04 11:38:42 +01:00
Marcus Larsson
5e5def838e 8144220: UL does not support full path names for log files on windows
Reviewed-by: sla, mgronlun
2016-01-04 11:31:42 +01:00
Marcus Larsson
230a27a60d 8145083: Use semaphore instead of mutex for synchronization of Unified Logging configuration
Reviewed-by: dholmes, kbarrett, mgronlun
2016-01-04 11:37:18 +01:00
Marcus Larsson
803c430cee 8065331: Add trace events for failed allocations
Reviewed-by: brutisso, ehelin
2016-01-04 11:27:02 +01:00
Joseph Provino
88a120fb79 Merge 2016-01-01 17:08:38 +00:00
Ed Nevill
ea1091ca76 8146286: aarch64: guarantee failures with large code cache sizes on jtreg test java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java
Patch trampoline calls with special case bl to itself which does not cause guarantee failure

Reviewed-by: aph
2015-12-29 16:47:34 +00:00
Vladimir Kozlov
13f73f994f Merge 2015-12-29 18:30:51 +01:00
Martin Doerr
4e6b2ee594 8145913: PPC64: add Montgomery multiply intrinsic
Reviewed-by: aph, goetz
2015-12-29 11:54:21 +01:00
Kim Barrett
c3808b2091 8143847: Remove REF_CLEANER reference category
Remove REF_CLEANER.

Reviewed-by: jwilhelm, mchung, tbenson
2015-12-28 13:59:20 -05:00
Kim Barrett
1b5adfa949 8071507: (ref) Clear phantom reference as soft and weak references do
GC clears phantom refs on notification; update spec accordingly.

Reviewed-by: mchung, jmasa
2015-12-28 13:48:43 -05:00
Hui Shi
3767315e75 8144993: Elide redundant memory barrier after AllocationNode
Elide memory barrier for AllocationNode when it doesn't escape in initializer and has an MemBarRelease node at exit of initializer method.

Reviewed-by: aph, mdoerr, goetz, kvn, asiebenborn
2015-12-27 05:15:14 -08:00
Christian Tornqvist
4d2c80f12e 8146098: Visual Studio build fails after SA restructure
Reviewed-by: goetz, hseigel, dsamersoff
2015-12-24 07:35:18 -08:00
Coleen Phillimore
944b70a17b Merge 2015-12-24 03:28:25 +00:00
Lana Steuck
f81d9a2a7b Added tag jdk-9+99 for changeset c71d1910fc22 2015-12-23 15:41:51 -08:00
Rachel Protacio
dbab9fe1f8 8145606: [TESTBUG] MonitorInflationTest.java should be rewritten to be more predictable
Logging/MonitorInflationTest.java now forced an object inflation and looks for that object. It no longer tests for object deflation.

Reviewed-by: gtriantafill, coleenp, iklam
2015-12-23 17:12:04 -05:00
Max Ockner
88f4fdeddc Merge 2015-12-23 20:14:25 +00:00
Coleen Phillimore
384ecfad72 8146011: sun/management/jmxremote/bootstrap/CustomLauncherTest crash at assert(stack_size)
We were setting stack_overflow_limit before initialization completed which may change the stack base for some solaris systems with unlimited stack

Reviewed-by: goetz, hseigel, gthornbr
2015-12-23 20:07:39 +00:00
Max Ockner
de7d9e821c 8144874: Reimplement TraceClassResolution with Unified Logging
TraceClassResolution reimplemented with classresolve tag.

Reviewed-by: coleenp, dholmes, iklam, rprotacio
2015-12-23 15:05:38 -05:00
Harold Seigel
f42b84bc7e 8042660: vm/mlvm/anonloader/stress/byteMutation failed with: assert(index >=0 && index < _length) failed: symbol index overflow
Detect zero length signatures and throw ClassFormatError before bad dereference occurs

Reviewed-by: coleenp, lfoltan, acorn, gtriantafill
2015-12-23 13:02:15 -05:00
Dmitry Samersoff
76d0d92563 8067194: Restructure hotspot/agent/src to conform the modular source layout
Move sources under jdk.hotspot.agent

Reviewed-by: ihse, erikj, jbachorik
2015-12-23 13:12:15 +03:00
Rachel Protacio
7973ef05b3 8141211: Convert TraceExceptions to Unified Logging
The -XX:+TraceExceptions flag has been updated to the unified logging framework, i.e. -Xlog:exceptions. The old flag, because it is product-level, has been aliased to the UL option.

Reviewed-by: dholmes, coleenp, mockner
2015-12-22 16:29:48 -05:00
Coleen Phillimore
348d3ab0f4 Merge 2015-12-22 19:33:01 +00:00
Coleen Phillimore
ac0d55c188 8074457: Remove the non-Zero CPP Interpreter
Remove cppInterpreter assembly files and reorganize InterpreterGenerator includes

Reviewed-by: goetz, bdelsart
2015-12-22 11:11:29 -05:00
Christian Tornqvist
4f265967df Merge 2015-12-22 15:53:42 +00:00
Christian Tornqvist
357e0e5ff9 8048521: Remove obsolete code from os_windows.cpp/hpp
Reviewed-by: coleenp, rdurbin
2015-12-22 05:26:55 -08:00
Thomas Schatzl
d6e95be627 8145774: Move scrubbing setup code away out of ConcurrentMark
Remove dependency of ConcurrentMark to G1RemSet.

Reviewed-by: jmasa, mgerdin
2015-12-22 11:03:37 +01:00
Thomas Schatzl
056fb6bfd3 8145672: Remove dependency of G1FromCardCache to HeapRegionRemSet
Move HeapRegionRemSet::num_par_rem_sets() to G1RemSet, and document it.

Reviewed-by: mgerdin, jmasa
2015-12-22 11:02:04 +01:00
Ioi Lam
365b569764 Merge 2015-12-22 00:08:38 +00:00
Ioi Lam
bf1b5cea33 8145271: stand-alone hotspot build is broken
Reviewed-by: ihse
2015-12-21 13:58:56 -08:00
Igor Ignatyev
bcec08b872 Merge 2015-12-21 22:45:54 +01:00
Jon Masamitsu
aaad04a655 Merge 2015-12-21 19:43:52 +00:00
Andrew Haley
c4a81b327d 8145096: Undefined behaviour in HotSpot
Fix some integer overflows

Reviewed-by: jrose, kvn, kbarrett, adinn, iklam
2015-12-21 16:58:29 +00:00
Kishor Kharbas
790f5bded4 8143925: Enhancing CounterMode.crypt() for AES
Add intrinsic for CounterMode.crypt() to leverage the parallel nature of AES in Counter(CTR) Mode.

Reviewed-by: kvn, ascarpino
2015-12-28 23:11:01 -08:00
Christian Thalinger
fb318fc787 8146245: compiler/jvmci/ tests fail: java.lang.AssertionError: minimum config for aarch64
Reviewed-by: kvn
2015-12-28 10:10:37 -10:00
Doug Simon
ae88612f52 8146157: JVMCI must not fold accesses to @Stable fields if -XX:-FoldStableValues
Reviewed-by: twisti
2015-12-26 16:59:26 +01:00
Martin Doerr
28154b095e 8146231: ppc64/gcc 4.1.2: fix build after "8143072: [JVMCI] Port JVMCI to AArch64"
Reviewed-by: goetz
2015-12-28 10:32:20 +01:00
Igor Ignatyev
e227bbc9da 8146205: quarantine compiler/jvmci/compilerToVM/ExecuteInstalledCodeTest.java
Reviewed-by: kvn
2015-12-25 03:27:06 +03:00
Christian Thalinger
e4b9b7a178 Merge 2015-12-24 17:21:09 +01:00
Andrew Haley
cee2a179e6 8143072: [JVMCI] Port JVMCI to AArch64
Reviewed-by: gdub, rschatz, twisti, kvn
2015-12-23 20:19:42 -10:00
Vivek R Deshpande
453650389f 8145688: Update for x86 pow in the math lib
Optimizes Math.pow() for 64 and 32 bit X86 architecture using Intel LIBM  implementation.

Reviewed-by: kvn
2015-12-23 21:09:50 -08:00
Christian Thalinger
bc04deac15 8146043: run JVMCI tests in JPRT
Reviewed-by: iklam, ctornqvi, collins
2015-12-23 16:24:19 -08:00
Christian Thalinger
ffa21cb2b2 8146100: compiler/jvmci/code/SimpleCodeInstallationTest.java JUnit Failure: expected:<12> but was:<109710641>
Reviewed-by: kvn
2015-12-23 11:36:46 -10:00
Igor Ignatyev
2c62b9355d 8146129: quarantine compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java
Reviewed-by: twisti
2015-12-23 23:08:16 +03:00
Christian Thalinger
066e504bba 8145435: [JVMCI] some tests on Windows fail with: assert(!thread->is_Java_thread()) failed: must not be java thread
Reviewed-by: never, dnsimon, dholmes, coleenp
2015-12-23 07:27:42 -10:00
Christian Thalinger
62a987e63b Merge 2015-12-22 13:41:09 -08:00
Nils Eliasson
cd1d8e4304 8145328: SEGV in DirectivesStack::getMatchingDirective
Loop until enabled directive is found

Reviewed-by: kvn, twisti
2015-12-21 22:17:23 +01:00
Tobias Hartmann
0f67aad7af 8144487: PhaseIdealLoop::build_and_optimize() must restore major_progress flag if skip_loop_opts is true
Restore the major_progress flag before calling igvn.optimize().

Reviewed-by: kvn
2015-12-21 11:34:58 +01:00
Tobias Hartmann
60da2fdb6f 8145754: PhaseIdealLoop::is_scaled_iv_plus_offset() does not match AddI
Is_scaled_iv_plus_offset() should handle AddI nodes with scaled iv as second input.

Reviewed-by: kvn
2015-12-21 10:14:26 +01:00
Nils Eliasson
dde534535b 8145566: PrintNMethods compile command broken since b89
Decremented Symbol twice

Reviewed-by: thartmann, kvn
2015-12-19 19:06:02 +01:00
Lana Steuck
5a3aaaded3 Merge 2015-12-18 09:56:56 -08:00
Alejandro Murillo
8a47e1f795 Merge 2015-12-18 09:37:16 -08:00
Lana Steuck
b5768cd213 Added tag jdk-9+98 for changeset 8743629b4f0c 2015-12-18 09:29:05 -08:00
Sangheon Kim
93bd48e615 8068394: Trace event for concurrent GC phases
Add concurrent phase events for CMS and G1

Reviewed-by: brutisso, stefank
2015-12-18 08:17:30 -08:00
Coleen Phillimore
a22ed33318 Merge 2015-12-21 14:09:21 +00:00
Thomas Schatzl
5e297b4308 8145671: Rename FromCardCache to G1FromCardCache
Reviewed-by: jmasa, mgerdin
2015-12-21 12:04:32 +01:00
Thomas Schatzl
8188ad75a7 8145667: Move FromCardCache into separate files
Reviewed-by: mgerdin, stefank
2015-12-21 12:02:08 +01:00
Thomas Schatzl
c415f56651 8145674: Fix includes and forward declarations in g1Remset files
Reviewed-by: simonis, stefank
2015-12-21 12:02:03 +01:00
Goetz Lindenmaier
b5bca5cc1b 8139864: Improve handling of stack protection zones
Reviewed-by: stuefe, coleenp, fparain
2015-12-20 10:37:23 -05:00
Kim Barrett
db576a91d8 Merge 2015-12-19 03:07:31 +00:00
Coleen Phillimore
f3f72fe573 Merge 2015-12-19 02:32:27 +01:00
Coleen Phillimore
e858a1cd9a 8144256: compiler/uncommontrap/TestStackBangRbp.java crashes VM on Solaris
Take out inlining of methodHandle copy constructors and destructors

Reviewed-by: hseigel, gtriantafill
2015-12-18 15:50:33 -05:00
Rachel Protacio
07af24b8ac 8145445: [TESTBUG] runtime/logging tests need to properly build and import libraries
Adds the proper @build and import lines to the jtreg tests in the runtime/logging directory.

Reviewed-by: iklam, hseigel
2015-12-18 14:30:13 -05:00
Thomas Schatzl
8c13cfe16c Merge 2015-12-18 13:38:49 +00:00
Thomas Schatzl
01bbb7f8a9 8145752: Fix include guards in GC code
Reviewed-by: mgerdin, stefank
2015-12-18 14:32:16 +01:00
Thomas Schatzl
92c56ccb9c 8145673: G1RemSetSummary.hpp uses FREE_C_HEAP_ARRAY
Move destructor work into cpp file

Reviewed-by: mgerdin, stefank
2015-12-18 14:27:51 +01:00
Thomas Schatzl
7806389bef 8145534: TestRemsetLogging.java takes a long time
Improve the test and test settings to decrease the time it takes.

Reviewed-by: brutisso, jmasa, dfazunen
2015-12-18 11:30:29 +01:00
Frederic Parain
07bec70d26 8145317: ReservedStackTest fails with ReentrantLock looks corrupted
Reviewed-by: acorn, dcubed
2015-12-18 11:04:59 +01:00
Jaroslav Bachorik
34b95824b7 Merge 2015-12-18 09:02:21 +01:00
Severin Gehwolf
adeb2daf12 6425769: Allow specifying an address to bind JMX remote connector
Reviewed-by: jbachorik, dfuchs
2015-12-18 08:55:47 +01:00
Lana Steuck
67cde38674 Merge 2015-12-17 20:25:48 -08:00
Lana Steuck
8c29b0e4b0 Added tag jdk-9+97 for changeset e29399d0152b 2015-12-17 19:39:18 -08:00
Christian Tornqvist
74ef672de8 8144716: Unable to build in Visual Studio after JVMCI change
Reviewed-by: twisti, mgronlun
2015-12-17 08:41:48 -08:00
Christian Tornqvist
9a10b937df 8145400: ProjectCreator broken after JEP 223 changes
Reviewed-by: lfoltan, mgronlun
2015-12-17 12:16:03 -08:00
Christian Tornqvist
147ab7a6aa 8145603: Enable build.bat to use vcproj to build
Reviewed-by: mgronlun, mikael, gtriantafill
2015-12-17 08:41:30 -08:00
Rachel Protacio
17f5c68ebe 8145629: Disable test/runtime/logging/MonitorInflationTest.java
@ignore-ed logging/MonitorInflationTest.java

Reviewed-by: hseigel, ctornqvi
2015-12-17 11:18:22 -05:00
Kirill Zhaldybin
772ddb7a4f 8132723: Add tests which check that soft references to humongous objects should work correctly
8132724: Add tests which check that weak references to humongous objects should work correctly

Reviewed-by: jmasa, dfazunen
2015-12-17 16:46:41 +03:00
Thomas Stuefe
673280d6f0 8079125: [aix] clean up Linux-specific code remnants in AIX coding
Reviewed-by: goetz
2015-12-17 08:23:51 +01:00
Sangheon Kim
46cb143b5d 8144949: TestOptionsWithRanges -XX:NUMAInterleaveGranularity=2147483648 crashes VM
Changed max range to 2G/8192G for NUMAInterleaveGranularity and removed constraint function

Reviewed-by: jwilhelm, jmasa
2015-12-16 22:06:52 -08:00
Ioi Lam
ce1bdba7c7 8145620: Disable compiler/floatingpoint/ModNaN.java
Reviewed-by: dholmes, coleenp
2015-12-16 19:30:10 -08:00
Goetz Lindenmaier
8af9bcce4b 8145528: PPC64: Remove cpp interpreter implementation - part II
Reviewed-by: coleenp
2015-12-16 08:57:47 +01:00
Bengt Rutisson
bd183dc526 8145315: VM crashes in print_task_time_stamps()
Reviewed-by: jwilhelm, jmasa
2015-12-16 09:24:48 +01:00
Alejandro Murillo
18175d1f1d Merge 2015-12-15 19:01:07 -08:00
Roland Schatz
af94163551 8144704: [JVMCI] add tests for simple code installation
Reviewed-by: twisti
2015-12-15 16:55:24 +01:00
Jan Civlin
eab2c9b57a 8145717: Use AVX3 instructions for Arrays.equals() intrinsic
Reviewed-by: kvn
2015-12-18 15:29:43 -08:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Christian Thalinger
cd568438d0 Merge 2015-12-17 23:36:28 +00:00
Christian Thalinger
02795f1623 8145714: [JVMCI] SPARC broken after JDK-8134994
Reviewed-by: kvn
2015-12-17 23:17:34 +00:00
Dean Long
bef2c6a325 8144852: Corrupted oop in nmethod
Reviewed-by: vlivanov
2015-12-17 09:39:07 -08:00
Magnus Ihse Bursie
c02d7b3ef5 8142907: Integration of minor fixes from the build-infra project
Reviewed-by: erikj, dholmes
2015-12-15 11:02:49 +01:00
Joseph Provino
7ef8e1953d Merge 2015-12-14 19:49:15 +00:00
David Lindholm
ddab9e4387 8145301: Improve and unify the printout format for the g1HRPrinter
Reviewed-by: brutisso, tschatzl
2015-12-14 13:47:35 +01:00
Goetz Lindenmaier
f086798f2f 8145292: PPC64: fix build after "8046936: JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: simonis
2015-12-14 10:04:31 +01:00
Thomas Stuefe
0eda47f124 8145114: const-correctness for ucontext_t* reading functions
Reviewed-by: dholmes, coleenp
2015-12-14 02:29:11 -05:00
Alejandro Murillo
c0dba352fa Merge 2015-12-11 17:45:48 -08:00
Roland Westrelin
6961dea52a 8139771: Eliminating CastPP nodes at Phis when they all come from a unique input may cause crash
Lost dependency when CastPP at Phis are eliminate

Reviewed-by: kvn
2015-12-11 16:57:08 +01:00
Vladimir Ivanov
0e01750370 8133612: new clone logic added in 8042235 is missing from compiler intrinsics
Reviewed-by: roland
2015-12-18 20:23:28 +03:00
Vladimir Ivanov
7adcd9a503 8140659: C1: invokedynamic call patching violates JVMS-6.5.invokedynamic
Reviewed-by: roland
2015-12-18 20:23:27 +03:00
Vladimir Ivanov
a82be01120 8071374: -XX:+PrintAssembly -XX:+PrintSignatureHandlers crash fastdebug VM with assert(limit == __null || limit <= nm->code_end()) in RelocIterator::initialize
Reviewed-by: kvn, iklam, shade
2015-12-18 20:23:26 +03:00
Lana Steuck
6917180972 Merge 2015-12-10 09:24:59 -08:00
Lana Steuck
450ad83798 Added tag jdk-9+96 for changeset 76214951eeab 2015-12-10 08:17:03 -08:00
Thomas Stuefe
db823b775b 8145103: [aix] implement os::print_register_info()
Reviewed-by: goetz, dholmes
2015-12-10 14:22:00 +01:00
Alexander Smundak
74f0500a47 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Set LIBARCH to ppc64le, make SA and hsdis work, have os.arch return ppc64le on PowerPC64 LE

Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-13 22:32:16 -05:00
Dmitry Dmitriev
2c980f2f84 8142874: [TESTBUG] OptionsValidation testing framework needs to handle VM error codes in some cases
Reviewed-by: gtriantafill, stsmirno, ctornqvi, gziemski
2015-12-12 21:23:20 +03:00
Mikael Vidstedt
e4f68b772b 8144885: agent/src/os/linux/libproc.h needs to support Linux/SPARC builds
Added include of asm/ptrace.h to libproc.h

Reviewed-by: dsamersoff, asmundak, gthornbr
2015-12-11 13:36:15 -08:00
Frederic Parain
bf8186d569 Merge 2015-12-11 18:54:22 +00:00
Frederic Parain
ef800bd53f 8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Stefan Johansson
d95b280d79 8144908: Remove apply_to_weak_ref_discovered_field override for UpdateRSOopClosure
Reviewed-by: kbarrett, jmasa
2015-12-11 17:49:42 +01:00
Stefan Johansson
33d3e19b81 8144701: Change three G1 remembererd set closures to be OopClosures
Reviewed-by: mgerdin, stefank
2015-12-11 17:49:41 +01:00
Stefan Johansson
79ddc15248 8144584: Change FilterIntoCSClosure to inherit OopClosure
Reviewed-by: kbarrett, mgerdin
2015-12-11 17:49:40 +01:00
Stefan Johansson
27c56ca8af 8144505: Change G1ParCopyHelper to inherit OopClosure
Reviewed-by: mgerdin, stefank
2015-12-11 17:49:40 +01:00
David Lindholm
f6440f7fb1 Merge 2015-12-11 13:18:10 +00:00
David Lindholm
a1a959760b 8144996: Replace the HeapRegionSetCount class with an uint
Reviewed-by: brutisso, jwilhelm
2015-12-11 13:48:52 +01:00
Sebastian Sickelmann
f9ecfbf758 8145061: Too many instances of java.lang.Boolean created in Java application (hotspot repo)
Avoid creating unused instances of Long and Boolean

Reviewed-by: dholmes, sla
2015-12-10 17:48:44 +01:00
Martin Doerr
faf57db7c8 8144847: PPC64: Update Transactional Memory and Atomic::cmpxchg code
Reviewed-by: stuefe, goetz
2015-12-10 15:27:16 +01:00
Stefan Johansson
97e8a96fe1 8144486: Change G1UpdateRSOrPushRefOopClosure to inherit OopClosure
Reviewed-by: mgerdin, stefank
2015-12-11 09:08:08 +01:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Joseph Provino
581eb19018 Merge 2015-12-10 23:02:31 +00:00
Christian Tornqvist
d15ab0eb1c Merge 2015-12-10 21:31:56 +00:00
Dmitry Samersoff
ad8e00eac6 Merge 2015-12-10 19:59:10 +00:00
Joseph Provino
79e18f084b Merge 2015-12-10 18:55:58 +00:00
Joseph Provino
4fd73ebe16 8139871: G1CollectorPolicy::_cur_mark_stop_world_time_ms is never read from
Remove dead code

Reviewed-by: tschatzl, jwilhelm
2015-12-10 13:38:18 -05:00
Mikael Gerdin
17abcda388 Merge 2015-12-10 17:07:03 +00:00
Staffan Larsen
b7131d3b66 Merge 2015-12-10 17:03:48 +01:00
Staffan Larsen
57d8a71115 8145099: Better error message when SA can't attach to a process
Reviewed-by: jbachorik, stuefe
2015-12-10 16:09:36 +01:00
David Lindholm
56e8606ca8 Merge 2015-12-10 14:24:26 +00:00
Dmitry Dmitriev
f9b7fc0201 8144197: Possible use after free in Arguments::add_property function
Reviewed-by: dholmes, goetz
2015-12-10 14:50:47 +03:00
Dmitry Samersoff
d7bb6e9a97 8139484: [Findbugs] new sun.jvm.hotspot.SAGetopt(String[]) may expose internal representation
Clone array instead of just assign it

Reviewed-by: dholmes
2015-12-10 12:05:53 +03:00
David Lindholm
1f55a9122c 8145073: Filename and linenumber are not printed for asserts any more
Reviewed-by: dholmes, stuefe
2015-12-10 08:50:36 +01:00
Jon Masamitsu
023320f726 8145027: Exclude NUMAInterleaveGranularity from TestOptionsWithRanges.java
Reviewed-by: jwilhelm, ddmitriev
2015-12-09 12:35:09 -08:00
Christian Tornqvist
c7396ec06d 8144921: Remove JDK6_OR_EARLIER code from os_windows
Reviewed-by: dholmes, mseledtsov, gtriantafill
2015-12-09 11:00:38 -08:00
Christian Tornqvist
a39fa54251 8015396: double a%b returns NaN for some (a,b) (|a| < inf, |b|>0)
Reviewed-by: coleenp, gtriantafill
2015-12-10 09:42:22 -08:00
Thomas Schatzl
d5cbfaf934 Merge 2015-12-09 17:09:12 +00:00
Mikael Gerdin
ae65f88b0f 8144714: Add extension point to G1 evacuation closures
Reviewed-by: ehelin, jmasa
2015-12-09 16:05:24 +01:00
David Lindholm
4d1bcc7e89 Merge 2015-12-09 15:01:11 +00:00
Tom Benson
33ac74ad7e 8060697: Improve G1 Heap Growth Heuristics
Reworked GCTimeRatio-based heap growth code for G1

Reviewed-by: tschatzl, kbarrett, jmasa
2015-12-09 09:51:31 -05:00
Thomas Stuefe
6996edcbb5 8144219: [posix] Remove redundant code around os::print_siginfo()
For posix platforms, consolidate os::print_siginfo() in os_posix.cpp and remove cds fault special handling

Reviewed-by: dholmes, simonis
2015-12-09 14:56:02 +01:00
David Lindholm
87a31aaa33 8144837: Improve the printout of heap regions in hs_err dump files
Reviewed-by: stefank, sjohanss
2015-12-09 14:49:26 +01:00
Nils Eliasson
74cff677d4 8144091: CompilerControl: directive file doesn't override inlining rules
Fix correct overrides

Reviewed-by: roland
2015-12-09 13:37:59 +01:00
Nils Eliasson
2bb757d0eb 8145345: LogCompilation output is empty after JEP165: Compiler Control
Fix default init and compilecommand update

Reviewed-by: kvn
2015-12-16 15:39:11 +01:00
Nils Eliasson
8c0ad215bc 8144246: adding lots of directives via jcmd may produce OOM crash
Add a limit to the number of directives

Reviewed-by: kvn
2015-12-16 15:38:28 +01:00
Dmitrij Pochepko
e699dcb655 8141351: Create tests for direct invoke instructions testing
Tests for invoke* instructions

Reviewed-by: twisti
2015-12-16 18:38:02 +03:00
Andrew Haley
07512e7aec 8145553: Fix warnings in AArch64 directory
Reviewed-by: kvn
2015-12-16 13:21:19 +00:00
Andrew Haley
edb2af6a6d 8144582: AArch64 does not generate correct branch profile data
Reviewed-by: kvn
2015-12-16 11:35:59 +00:00
Andrew Haley
dd5481cbbc 8145438: Guarantee failures since 8144028: Use AArch64 bit-test instructions in C2
Implement short and long versions of bit test instructions.

Reviewed-by: kvn
2015-12-15 19:18:05 +00:00
Christian Thalinger
ae19a4b931 Merge 2015-12-15 21:17:50 +00:00
Alexander Vorobyev
1a135175c4 8079667: port vm/compiler/AESIntrinsics/CheckIntrinsics into jtreg
Reviewed-by: kvn
2015-12-15 17:31:18 +03:00
Christian Thalinger
bf5db72254 8134994: use separate VMStructs databases for SA and JVMCI
Reviewed-by: kbarrett
2015-12-14 17:02:02 -10:00
Yasumasa Suenaga
30603c6599 8144332: HSDB could not terminate when close button is pushed
Reviewed-by: jbachorik
2015-12-09 21:24:57 +09:00
Yasumasa Suenaga
238c184b11 8144965: Show oop pointer in call frame at HSDB
Reviewed-by: jbachorik
2015-12-09 23:17:21 +09:00
Cheleswer Sahu
ae7369442a 8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
Reviewed-by: dholmes, sla
2015-12-09 15:31:25 +05:30
Goetz Lindenmaier
1feaca45a7 8144930: gcc 4.1.2: fix build flags after "8114853 variable tracking size limit exceeded"
Reviewed-by: dholmes
2015-12-08 20:51:09 -05:00
Mikael Vidstedt
251eab3b99 Merge 2015-12-08 21:46:56 +00:00
Mikael Vidstedt
c9fc986a36 8144881: Various fixes to linux/sparc
Fixed sigflags printing, format specfiers, codeCache includes and some function returns

Reviewed-by: dsamersoff, simonis
2015-12-08 11:36:16 -08:00
Markus Grönlund
2ad9d3192f 8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Ed Nevill
c095394bce 8144498: aarch64: large code cache generates SEGV
Fix pd_call_destination to use is_call_at rather than is_call

Reviewed-by: aph, adinn
2015-12-08 14:26:17 +00:00
Andrew Haley
ac6fa27965 Merge 2015-12-15 13:42:13 +00:00
Andrew Haley
c2221a88e8 8145320: Create unsafe_arraycopy and generic_arraycopy for AArch64
Reviewed-by: kvn
2015-12-14 15:53:48 +00:00
Goetz Lindenmaier
2b4403dc88 8145300: ppc64: fix port of "8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls"
Reviewed-by: simonis
2015-12-14 10:22:19 +01:00
Vladimir Ivanov
1a4c3a752d 8145137: Incorrect call signature can be used in nmethod::preserve_callee_argument_oops
Reviewed-by: roland, jrose
2015-12-11 15:03:11 +03:00
Vladimir Ivanov
e56a7de478 8145026: compiler/jsr292/NonInlinedCall/RedefineTest.java fails with: java.lang.NullPointerException in ClassFileInstaller.main
Reviewed-by: roland
2015-12-10 14:51:54 +03:00
Vladimir Ivanov
afeb87ddd8 8144935: C2: safepoint is pruned from a non-counted loop
Reviewed-by: roland
2015-12-10 14:51:53 +03:00
Nils Eliasson
7b54819d3e 8144601: Premature assert in directive inline parsing
Break after first fail

Reviewed-by: roland
2015-12-09 13:41:04 +01:00
Doug Simon
bbc34efe26 8144944: JVMCI compiler initialization can happen on different thread than JVMCI initialization
Reviewed-by: twisti
2015-12-09 22:57:52 +01:00
Paul Sandoz
4d4c7ad974 8143628: Fork sun.misc.Unsafe and jdk.internal.misc.Unsafe native method tables
Reviewed-by: shade, dholmes, alanb, chegar, mchung, roland
2015-12-09 14:54:40 +01:00
Jamsheed Mohammed
1f2a9c1407 6808665: Use486InstrsOnly aborts 32-bit VM
The code supporting -XX:+/-Use486InstrsOnly was removed.

Reviewed-by: dholmes, thartmann, vlivanov
2015-12-09 11:06:39 +01:00
Pavel Punegov
a1bb5b8456 8144933: CompilerControl: commandfile/ExcludeTest has incorrect jtreg run innotation
Fix incorrect full test name

Reviewed-by: kvn
2015-12-09 00:30:32 +03:00
Pavel Punegov
555dd24642 8140667: CompilerControl: tests incorrectly set states for excluded methods
Fix exclude command generation

Reviewed-by: kvn
2015-12-09 00:33:30 +03:00
Poonam Bajaj
24c8c40bb8 8140031: SA: Searching for a value in Threads does not work
Improve the thread and threads commands in CLHSDB

Reviewed-by: dsamersoff
2015-12-08 05:50:46 -08:00
Lana Steuck
f720ad0cc2 Merge 2015-12-07 14:18:23 -08:00
Martin Doerr
ef1c3dc4ed 8144850: C1: operator delete needs an implementation
Reviewed-by: kvn
2015-12-07 18:24:24 +01:00
Christian Thalinger
3db39e91be Merge 2015-12-15 01:20:08 +01:00
Jan Civlin
a08d3805f0 8144771: Use AVX3 instructions for string compare
Co-authored-by: Michael C Berg <michael.c.berg@intel.com>
Reviewed-by: kvn, thartmann
2015-12-14 14:48:30 -08:00
Tom Rodriguez
e4d937a557 8145338: compiler/jsr292/CallSiteDepContextTest.java fails: assert(dep_implicit_context_arg(dept) == 0) failed: sanity
Reviewed-by: twisti
2015-12-14 13:06:39 -08:00
Doug Simon
08a2e337c7 8145270: Need to eagerly initialize JVMCI compiler under -Xcomp
Reviewed-by: twisti
2015-12-13 22:51:13 +01:00
Ioi Lam
9c775566e5 8144853: Print the names of callees in PrintAssembly/PrintInterpreter
Reviewed-by: dholmes, vlivanov
2015-12-07 09:19:26 -08:00
Coleen Phillimore
d0532b2b86 Merge 2015-12-15 17:57:08 +00:00
Coleen Phillimore
682603831d Merge 2015-12-15 16:01:53 +00:00
Joseph Provino
a0734684c5 Merge 2015-12-15 16:01:00 +00:00
Coleen Phillimore
a02be6bb0d Merge 2015-12-15 10:43:12 -05:00
Joseph Provino
c52bff739b Merge 2015-12-15 15:27:38 +00:00
Joseph Provino
26af4d84c3 8139768: Running with -XX:CMSOldPLABNumRefills=2147483648 causes EXCEPTION_INT_DIVIDE_BY_ZERO on Windows i586
Use double arithmetic to avoid integer overflow

Reviewed-by: jwilhelm, tbenson
2015-12-14 17:06:06 -05:00
Rachel Protacio
a74243c302 8145153: Convert TraceMonitorInflation to Unified Logging
Updated -XX:+TraceMonitorInflation flag to -Xlog:monitorinflation=debug, with an alias (and related alias table) to support the old option.

Reviewed-by: dholmes, mockner, coleenp
2015-12-11 14:58:20 -05:00
Kirill Zhaldybin
f238510a5a 8143933: Create testlibrary for auxiliary methods used in g1/humongousObjects testing
Reviewed-by: iignatyev, dfazunen
2015-12-10 20:14:00 +03:00
Goetz Lindenmaier
39e280e4e3 8145117: PPC64: Remove cpp interpreter implementation
Reviewed-by: coleenp, mdoerr
2015-12-10 16:18:25 +01:00
Magnus Ihse Bursie
2e4d7b8120 Merge 2015-12-15 11:28:23 +01:00
Magnus Ihse Bursie
6e05599081 8142909: Integration of minor fixes from the build-infra project
Reviewed-by: dholmes, erikj
2015-12-15 10:55:07 +01:00
Bengt Rutisson
9ecd60a8dc 8145303: Clean up the units for log_gc_footer
Reviewed-by: david, tschatzl, goetz
2015-12-15 09:58:29 +01:00
Volker Simonis
9fc9cf684a 8145015: jni_GetStringCritical asserts for empty strings
Reviewed-by: thartmann, dholmes
2015-12-15 00:16:09 -05:00
Joseph Provino
2fff60761c Merge 2015-12-07 17:16:13 +00:00
Joseph Provino
1b75e851aa Merge 2015-12-07 17:04:42 +00:00
Goetz Lindenmaier
6f27a97d77 8144466: ppc64: fix argument passing through opto stubs
Reviewed-by: kvn
2015-12-07 15:42:47 +01:00
Vladimir Kozlov
223668aab4 Merge 2015-12-14 10:27:33 -08:00
Martin Doerr
682da74418 8143817: C1: Platform dependent stack space not preserved for all runtime calls
Reviewed-by: roland
2015-12-08 14:44:00 +01:00
Vivek R Deshpande
2d9a6cfd3f 8143355: Update for addition of vectorizedMismatch intrinsic for x86
Co-authored-by: Liqi Yi <liqi.yi@intel.com>
Reviewed-by: kvn
2015-12-07 16:35:07 -08:00
Roland Westrelin
43d48c16d2 Merge 2015-12-07 15:00:46 +00:00
Martin Doerr
b7ad80c79f 8144822: PPC64: Fix build after 8072008
Reviewed-by: goetz
2015-12-07 15:01:24 +01:00
Fei Yang
ad8ecc0f98 8144201: aarch64: jdk/test/com/sun/net/httpserver/Test6a.java fails with --enable-unlimited-crypto
Fix typo in stub generate_cipherBlockChaining_decryptAESCrypt

Reviewed-by: roland
2015-12-07 21:14:56 +08:00
Jesper Wilhelmsson
9ff100e114 Merge 2015-12-07 21:03:56 +00:00
Ioi Lam
8db7a63b8c Merge 2015-12-07 19:21:40 +00:00
Jesper Wilhelmsson
d6fd9c1149 Merge 2015-12-07 17:29:27 +00:00
Tom Rodriguez
449bf68d35 8143571: [JVMCI] Double unregistering of nmethod during unloading
Reviewed-by: iveresov, twisti
2015-12-04 15:18:46 -10:00
Mikael Vidstedt
62dbc20112 Merge 2015-12-05 02:19:46 +00:00
Mikael Vidstedt
7689ac6999 Merge 2015-12-04 23:50:05 +00:00
Sangheon Kim
da8bf041ac 8142341: GC: current flags need ranges to be implemented
Add explicit ranges and constraint for all gc flags

Reviewed-by: jwilhelm, gziemski, ddmitriev, tbenson
2015-12-04 15:24:14 -08:00
Mikael Vidstedt
b5691de477 8144748: Move assembler/macroAssembler inline function definitions to corresponding inline.hpp files
Reviewed-by: kvn, coleenp
2015-12-04 15:08:49 -08:00
Mikael Vidstedt
7caf70643c 8144657: Invalid format specifiers in jvmci trace messages
Reviewed-by: kvn
2015-12-04 13:36:10 -08:00
Vladimir Ivanov
d60a09e9c5 8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls
Reviewed-by: jrose, dlong, aph, forax
2015-12-04 23:46:19 +03:00
Mikael Vidstedt
95c869947a 8144605: Invalid format specifier when printing in_cset_state_t
Use existing CSETSTATE_FORMAT macro in format string

Reviewed-by: kbarrett, tschatzl
2015-12-04 09:36:16 -08:00
Mikael Vidstedt
00df16e386 Merge 2015-12-06 06:08:48 +00:00
Coleen Phillimore
0f27cc83c2 Merge 2015-12-05 17:14:02 +00:00
Coleen Phillimore
5f07c2b8ad 8144534: Refactor templateInterpreter and templateInterpreterGenerator functions
Merged templateInterpreter_x86_32/64 into templateInterpreterGenerator_x86.cpp (some 32/64 functions remain for the hand coded crc functions).

Reviewed-by: goetz, jrose, twisti
2015-12-05 10:40:22 -05:00
Thomas Schatzl
d9d78c6a33 8144690: g1Predictions.hpp includes allocation.inline.hpp
Remove offending (and unnecessary) include statement.

Reviewed-by: stefank, jmasa
2015-12-05 15:17:29 +01:00
Thomas Schatzl
52745a5d2c 8144583: Test sanity/ExecuteInternalVMTests.java fails
Remove a test that is highly dependent on timing.

Reviewed-by: jwilhelm
2015-12-05 15:16:01 +01:00
Thomas Stuefe
679e48d459 8144192: Enhancements-to-print_siginfo-windows
Some small enhancement to os::print_siginfo for Windows

Reviewed-by: dholmes
2015-12-05 05:15:35 -05:00
Mikael Vidstedt
5a0c8c4485 8144663: Invalid constraints in memset_with_concurrent_readers_sparc.cpp inline assembly
Fix constraints and signedness in comparisons

Reviewed-by: kbarrett
2015-12-04 14:32:25 -08:00
Martin Doerr
8c5da27f19 8144019: PPC64 C1: Introduce Client Compiler
Reviewed-by: goetz
2015-12-04 16:38:04 +01:00
Martin Doerr
0fba365de2 8136445: Performance issue with Nashorn and C2's global code motion
Reviewed-by: kvn
2015-12-04 16:23:39 +01:00
Andreas Eriksson
c64b2175e7 6869327: Add new C2 flag to keep safepoints in counted loops
Reviewed-by: kvn, shade
2015-12-04 14:06:38 +01:00
Marcus Larsson
974f9e0483 8144146: Unified Logging tags cannot be reserved keywords
Reviewed-by: dholmes, sla
2015-12-04 13:02:25 +01:00
Dmitry Dmitriev
343aae742f 8144629: runtime/thread/Fibonacci.java test should ran in othervm mode
Reviewed-by: ctornqvi
2015-12-04 13:39:59 +03:00
David Holmes
6e0ea9d21c 8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)

Reviewed-by: stuefe, bdelsart, dcubed
2015-12-04 04:06:37 -05:00
Alejandro Murillo
4f54e303f3 Merge 2015-12-03 22:30:17 -08:00
Coleen Phillimore
8929fdddb8 Merge 2015-12-04 04:29:31 +00:00
Max Ockner
b11ecef634 Merge 2015-12-04 02:46:41 +00:00
Thomas Schatzl
10f4b8402f Merge 2015-12-04 02:39:03 +01:00
Max Ockner
c6b57e4c8c Merge 2015-12-03 19:35:18 +00:00
Dmitry Samersoff
2eb9b07e69 8114853: variable tracking size limit exceeded in vmStructs.cpp
Turn off var-tracking-assignments for vmStructs.cpp

Reviewed-by: tschatzl, mgerdin, coleenp
2015-12-03 21:34:23 +03:00
Rachel Protacio
0d75e3c8cd 8144536: Clean up Unified Logging test directory
Consolidated two logging options' tests into one file each

Reviewed-by: dholmes, ctornqvi
2015-12-03 13:08:37 -05:00
Paul Sandoz
73acd18275 8144223: Move j.l.invoke.{ForceInline, DontInline, Stable} to jdk.internal.vm.annotation package
Reviewed-by: jrose, vlivanov, mchung, roland
2015-12-03 11:18:34 +01:00
Roland Westrelin
a3b2c845b4 Merge 2015-12-08 10:01:33 +00:00
Fei Yang
67caeeaa08 8144587: aarch64: generate vectorized MLA/MLS instructions
Add support for MLA/MLS (vector) instructions

Reviewed-by: roland
2015-12-07 21:23:02 +08:00
Ioi Lam
e708f69e1f 8143615: compactHashtable.hpp includes .inline.hpp file
Reviewed-by: dholmes, stefank
2015-12-02 18:14:54 -08:00
Christian Thalinger
a676faba28 8144529: [JVMCI] compiler/jvmci/errors/TestInvalidCompilationResult.java fails to compile after JDK-8143730
Reviewed-by: kvn
2015-12-02 14:59:57 -10:00
Lana Steuck
38f06b7eb3 Added tag jdk-9+95 for changeset 652bf41da963 2015-12-02 15:55:39 -08:00
Christian Thalinger
b0e745f5fe 8144521: [JVMCI] JVMCI is built on 32-bit Windows compiler2 and tiered builds
Reviewed-by: kvn
2015-12-02 11:40:18 -10:00
Max Ockner
a3d8114b45 8142976: Reimplement TraceClassInitialization with Unified Logging
TraceClassInitialization logging reimplemented with Unified Logging.

Reviewed-by: coleenp, hseigel
2015-12-02 14:07:58 -05:00
Lana Steuck
9e317be494 Merge 2015-12-02 10:19:14 -08:00
Roland Westrelin
7925eb298b 8134883: C1 hard crash in range check elimination in Nashorn test262parallel
C1's range check elimination breaks with a non-natural loop that has an exception handler as one entry

Reviewed-by: iveresov
2015-12-02 15:13:42 +01:00
Thomas Stuefe
f06c0a7041 8144343: [aix] Stack bottom should be page aligned
On thread create or attach, ensure stack bottom is aligned to os::vm_page_size()

Reviewed-by: simonis, kvn
2015-12-02 10:17:31 +01:00
Thomas Schatzl
153eae9ba4 8136680: Enable adaptive IHOP by default
Reviewed-by: jmasa, mgerdin, ehelin
2015-12-01 16:46:55 +01:00
Roland Westrelin
b97ff269d0 8143930: C1 LinearScan asserts when compiling two back-to-back CompareAndSwapLongs
Refactor CAS code to decrease register pressure in c1

Reviewed-by: kvn, shade
2015-12-01 12:17:18 +01:00
Mikael Gerdin
211dc93a85 8148047: Move the vtable length field to Klass
Reviewed-by: cjplummer, twisti, coleenp, kbarrett
2015-12-01 10:35:49 +01:00
Coleen Phillimore
97e169ac77 8145628: hotspot metadata classes shouldn't use HeapWordSize or heap related macros like align_object_size
Use align_metadata_size, align_metadata_offset and is_metadata_aligned for metadata rather than align_object_size, etc.  Use wordSize rather than HeapWordSize for metadata.  Use align_ptr_up rather than align_pointer_up (all the related functions are ptr).

Reviewed-by: hseigel, jmasa, cjplummer
2016-01-30 11:02:29 -05:00
Kim Barrett
ec7fb4ee2b 8146793: logStream::write re-formats string
Eliminate re-format, add warning attribute, fix size check, fix va_list usage.

Reviewed-by: mlarsson, rprotacio, jrose
2016-01-29 20:57:09 -05:00
Sangheon Kim
51a621db8d 8145190: MinTLABSize can cause overflow problem with CMS GC
Changed max range of MinTLABSize from max_uintx to max_uintx/2

Reviewed-by: jwilhelm, tbenson
2016-01-29 16:25:10 -08:00