Commit Graph

13341 Commits

Author SHA1 Message Date
Sharath Ballal
e8ead248a8 8030750: SA: Alternate hashing not implemented
Implement alternate hashing in SA

Reviewed-by: dsamersoff
2017-04-26 14:59:52 +05:30
Lana Steuck
33119b6cf2 Merge 2017-04-25 08:18:29 +00:00
Lana Steuck
9fa838e4a5 Added tag jdk-10+1 for changeset 015723e36620 2017-04-25 07:38:48 +00:00
Roland Westrelin
aa386ac45b 8179070: nashorn+octane's box2d causes c2 to crash with "Bad graph detected in compute_lca_of_uses"
CiTypeFlow speculates field is null but parsing uses non null constant because of concurrent class initialization

Reviewed-by: thartmann
2017-04-25 09:37:24 +02:00
Lana Steuck
7176f55ced Merge 2017-05-04 17:54:34 +00:00
Alan Bateman
1726127181 Merge 2017-05-04 09:43:45 +01:00
Alan Bateman
aefdcda532 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, hseigel, mchung, sspitsyn
2017-05-04 07:26:28 +00:00
Stefan Karlsson
9f9bfb8d8e 8178501: Replace usages of align macros with calls to the align inline functions
Reviewed-by: mgerdin, tschatzl
2017-04-24 09:14:09 +02:00
Stefan Karlsson
aad59744c5 8183544: Missing parentheses in is_size_aligned_ macro
Reviewed-by: mgerdin, tschatzl
2017-07-04 17:44:30 +02:00
Erik Helin
fd4f7d938a 8179013: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: sjohanss, sangheki
2017-04-22 12:05:20 +02:00
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Lana Steuck
343a64e0a0 Merge 2017-04-21 03:34:29 +00:00
Lana Steuck
039529ce3a Added tag jdk-9+166 for changeset a50cc126180c 2017-04-20 18:14:04 +00:00
Igor Veresov
34dec39bc2 8178047: Aliasing problem with raw memory accesses
Require equal bases when unaliasing offsets for raw accesses

Reviewed-by: kvn
2017-04-19 18:02:26 -07:00
Andrew Haley
95093ee7f6 8178968: AArch64: Remove non-standard code cache size
Reviewed-by: roland
2017-04-19 16:41:27 +01:00
Ekaterina Pavlova
ae7eebbe80 8178731: compiler/ciReplay/SABase.java does not compile
Reviewed-by: iignatyev, sspitsyn
2017-04-14 18:31:04 -07:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00:00
Lana Steuck
41acca8d4d Merge 2017-04-13 16:26:36 +00:00
Lana Steuck
364be0f742 Added tag jdk-9+165 for changeset 731e3ea86eb2 2017-04-13 16:01:12 +00:00
Stefan Karlsson
d37b9c1f8d 8178500: Replace usages of round_to and round_down with align_up and align_down
Reviewed-by: rehn, tschatzl
2017-04-13 09:57:51 +02:00
Stefan Karlsson
dbd3b5a79e 8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
2017-07-04 15:58:10 +02:00
Igor Ignatyev
48440aaf23 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:47 -07:00
Dean Long
f274b01820 8158168: Missing bounds checks for some String intrinsics
Reviewed-by: vlivanov, thartmann, sherman
2017-04-12 16:36:13 -04:00
Stefan Karlsson
0fcf645cff 8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn
2017-04-12 17:53:18 +02:00
Roger Riggs
6f92b33cc9 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: hseigel
2017-04-12 11:43:49 -04:00
Stefan Karlsson
229f386a8f 8178495: Bug in the align_size_up_ macro
Reviewed-by: kbarrett, tschatzl, rehn
2017-04-12 13:05:59 +02:00
Stefan Karlsson
1854382c4d 8178491: -Xss and -XX:ThreadStackSize argument parsing truncates bits
Reviewed-by: gziemski, kbarrett
2017-04-11 23:45:39 +02:00
Matthew Brandyberry
5b8238e18e 8181809: PPC64: Leverage mtfprd/mffprd on POWER8
Reviewed-by: mdoerr, simonis
2017-07-04 15:11:25 +02:00
Thomas Schatzl
0d6c9d4030 8179677: Let G1Remset::_conc_refined_cards only count number of cards concurrently refined
Reviewed-by: sjohanss, ehelin
2017-07-04 09:16:26 +02:00
Thomas Schatzl
4318d80587 8183394: Remove unused G1RemSet::n_workers() method
Reviewed-by: mgerdin, ehelin
2017-07-04 09:15:45 +02:00
Erik Helin
0d2388b35a Merge 2017-07-03 17:43:16 +00:00
Erik Helin
97e1f47359 8153360: G1HRRSFlushLogBuffersOnVerify with remembered set verification does not work
Reviewed-by: sjohanss, tschatzl
2017-07-03 17:19:11 +02:00
Erik Helin
19992b94e3 8183281: Remove unnecessary call to increment_gc_time_stamp
Reviewed-by: sjohanss, tschatzl
2017-07-03 14:24:07 +02:00
Claes Redestad
a986a96554 8183232: Avoid resolving method_kind in AbstractInterpreter::can_be_compiled
Reviewed-by: coleenp, mdoerr, neliasso
2017-07-03 09:01:34 +02:00
Mikael Gerdin
f21390e927 8183229: Implement WindowsSemaphore::trywait
Reviewed-by: redestad, stefank, kbarrett
2017-06-30 10:36:32 +02:00
Alexander Harlap
e515046a32 8178507: co-locate nsk.regression.gc tests
Convert four tonga tests into jtreg

Reviewed-by: lmesnik, iignatyev
2017-06-29 14:35:30 -04:00
Yang Zhang
77bc4e75e3 8182583: AArch64: FMA Vectorization on aarch64
Reviewed-by: aph
2017-06-23 09:25:27 +08:00
Mikael Gerdin
e62cebc78a 8183203: Remove stubRoutines_os
Reviewed-by: stefank, tschatzl
2017-06-30 10:36:32 +02:00
Mikael Gerdin
d39a34d689 8183198: Factor out thread state serialization into a proper helper function
Reviewed-by: tschatzl, eosterlund, coleenp
2017-06-26 15:25:25 +02:00
Coleen Phillimore
cf0d8c433e Merge 2017-06-29 19:09:04 +00:00
Claes Redestad
13dbb944d2 Merge 2017-06-29 17:32:46 +00:00
Nils Eliasson
b836b5b512 Merge 2017-06-29 14:54:32 +00:00
Nils Eliasson
791eb07c3c Merge 2017-06-29 12:32:17 +00:00
Claes Redestad
22cd78c6fb 8183001: Various inlining improvements
Reviewed-by: iklam, mikael, ehelin, stefank
2017-06-29 14:22:42 +02:00
Thomas Stuefe
c93a43fcfe 8183228: Fix optimized build after JDK-8170933
Reviewed-by: mgerdin, coleenp
2017-06-29 12:35:30 +02:00
Coleen Phillimore
7225e6008d 8182848: Some functions misplaced in debug.hpp
Moved to vmError.hpp,cpp where they seemed more appropriate

Reviewed-by: stefank, stuefe
2017-06-28 19:12:58 -04:00
Coleen Phillimore
f2b191c2a1 Merge 2017-06-28 20:21:04 +00:00
Coleen Phillimore
9edb2c5e5a 8182554: Code for os::random() assumes long is 32 bits
And make updating the _rand_seed thread safe.

Reviewed-by: stuefe, kbarrett, stefank
2017-06-28 16:14:20 -04:00
Bob Vandette
74a696eff0 Merge 2017-06-28 18:44:21 +02:00
Erik Helin
5bd2ec03b3 Merge 2017-06-28 15:21:48 +00:00
Robbin Ehn
3771ff5bd4 Merge 2017-06-28 17:16:42 +02:00
Thomas Stuefe
428063dd5e 8182984: [aix] Make stack traces independent on successful vm initialization
Reviewed-by: simonis, mdoerr, clanger
2017-06-28 16:12:54 +02:00
Robbin Ehn
f96e11d5e1 Merge 2017-06-28 16:07:30 +02:00
Erik Helin
9eb98aac44 8183124: Remove OopsInHeapRegionClosure
Reviewed-by: sjohanss, tschatzl
2017-06-28 14:38:10 +02:00
Robbin Ehn
9d3a9c331d 8180421: Change default value of BiasedLockingStartupDelay to 0
As CSR 8181778

Reviewed-by: tschatzl, redestad, coleenp, dcubed
2017-06-28 14:18:00 +02:00
Erik Helin
f01d388b13 8183122: Rename RefineRecordRefsIntoCSCardTableEntryClosure to G1RefineCardClosure
Reviewed-by: sjohanss, tschatzl
2017-06-28 14:17:28 +02:00
Thomas Schatzl
ea07d0ec2a 8178151: Clean up G1RemSet files
Remove unnecessary class members, improve method visibility and naming

Reviewed-by: ehelin, sjohanss
2017-06-28 14:15:56 +02:00
Bob Vandette
93fa77c3a1 Merge 2017-06-28 14:13:00 +02:00
Thomas Schatzl
be1f5ab521 8183006: Remove unused IterateOopClosureRegionClosure
Reviewed-by: sjohanss, ehelin
2017-06-28 12:11:55 +02:00
Thomas Schatzl
c0fff2604d 8183002: Remove unused concurrent parameter in HeapRegionManager::par_iterate
Reviewed-by: ehelin, sjohanss
2017-06-28 12:11:48 +02:00
Thomas Schatzl
52a1ad0388 8175554: Improve G1UpdateRSOrPushRefClosure
Micro-optimizations and improving naming for the G1UpdateRSOrPushRefClosure

Reviewed-by: ehelin, sangheki
2017-06-28 10:58:19 +02:00
Bob Vandette
ff40c20e33 Merge 2017-06-27 14:34:00 -04:00
Bob Vandette
43b6661f42 8182052: Test compiler/aot/cli/jaotc/CompileJarTest.java fails in JPRT
Reviewed-by: kvn
2017-06-27 14:29:54 -04:00
Bob Vandette
1b0711ad36 8182053: Test compiler/aot/verification/ClassAndLibraryNotMatchTest.java fails in JPRT for jdk10/hs
Reviewed-by: kvn
2017-06-27 14:28:09 -04:00
Patric Hedlin
431063deba 8164888: Intrinsify fused mac operations on SPARC
Such speed, much wow

Reviewed-by: kvn
2017-06-27 15:50:09 +02:00
Patric Hedlin
6a9aa18f63 8144448: Avoid placing CTI immediately following or preceding RDPC instruction
Best practice for new SPARC CPUs

Reviewed-by: kvn
2017-06-27 15:46:16 +02:00
Patric Hedlin
065a8981f5 8181868: Remove use of 'has_fast_fxtof()'
No longer used

Reviewed-by: kvn
2017-06-27 15:36:45 +02:00
Patric Hedlin
460a1d8fcd 8181853: Remove use of 'v9_only()'
V9 is the only supported ISA

Reviewed-by: kvn
2017-06-27 15:34:36 +02:00
Patric Hedlin
46bae0a37c 8181852: Remove option 'UseV8InstrsOnly'
Not supported

Reviewed-by: kvn
2017-06-27 15:31:11 +02:00
Patric Hedlin
9f66abeeb6 8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
Update for new platforms

Reviewed-by: kvn
2017-06-27 15:27:54 +02:00
Patric Hedlin
4ea55017ee 8182711: Re/Introduce private interface for HW-specific prefetch options in SPARC VM_Version
Re/Introduce private interface for HW-specific prefetch options in SPARC VM_Version

Reviewed-by: kvn, neliasso
2017-06-27 15:22:23 +02:00
Claes Redestad
edb4b7df3e Merge 2017-06-27 12:27:27 +00:00
Thomas Stuefe
f525172036 8182864: [aix] os::print_native_callstack should not assert for primordial threadness
Reviewed-by: clanger, mdoerr
2017-06-27 07:52:50 +02:00
Igor Veresov
bca94545e8 8182883: Update Graal
Reviewed-by: kvn
2017-06-26 16:10:31 -07:00
Claes Redestad
92c45050f9 8182487: Add Unsafe.objectFieldOffset(Class, String)
Reviewed-by: dsimms, twisti, bchristi, mgerdin, psandoz, chegar
2017-06-22 15:53:07 +02:00
Thomas Schatzl
8467de8bbc 8178148: Log more detailed information about scan rs phase
Add logging about the number of cards actually scanned, claimed and skipped during the Scan RS phase

Reviewed-by: ehelin, sangheki
2017-06-14 11:26:44 +02:00
Tobias Hartmann
620b398ba3 8181741: C2 compilation fails with "assert(i<_max) failed: oob"
PhaseIdealLoop should not use type() or type_or_null().

Reviewed-by: roland, kvn
2017-06-09 09:27:10 +02:00
Tobias Hartmann
872c310c4f 8181781: Replay compilation should ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors
Ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors.

Reviewed-by: kvn
2017-06-09 09:20:13 +02:00
Jesper Wilhelmsson
a41f617837 Merge 2017-06-08 20:28:04 +02:00
George Triantafillou
39a08d3fd9 8166748: Clean out Windows IA64 support
Reviewed-by: kbarrett, coleenp, bobv, mdoerr
2017-06-08 13:17:51 -04:00
Vivek Deshpande
4fd6f92702 8181616: FMA Vectorization on x86
Reviewed-by: kvn
2017-06-07 13:09:46 -07:00
Chris Plummer
c04bd11452 8171365: nsk/jvmti/scenarios/events/EM04/em04t001: many errors for missed events
Fix CodeCache:blobs_do() so it iterates over all code cache heaps

Reviewed-by: sspitsyn, thartmann
2017-06-07 08:56:35 -07:00
Tobias Hartmann
501fdbaf15 8181644: C1 crashes with -XX:+PrintCFGToFile
CFGPrinterOutput should not be shared between C1 compiler threads.

Reviewed-by: kvn
2017-06-07 12:23:04 +02:00
Roland Westrelin
9bcec9e523 8176506: C2: loop unswitching and unsafe accesses cause crash
Reviewed-by: vlivanov, mcberg, kvn, simonis
2017-05-29 18:17:49 +02:00
Thomas Stuefe
40fd8cda73 8171504: [aix] On AIX, -XXaltjvm=<path> option is ignored
Reviewed-by: clanger, mdoerr
2017-06-06 17:07:42 +02:00
Kim Barrett
5ea9bb3e56 8166651: OrderAccess::load_acquire &etc should have const parameters
Added const qualifiers to load/load_acquire source parameters.

Reviewed-by: dholmes, coleenp, adinn, eosterlund
2017-06-05 19:07:47 -04:00
Rachel Protacio
451b8b5d32 8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging
Converted -XX:+PrintSharedSpaces to -Xlog:cds=info

Reviewed-by: iklam, jiangli, mseledtsov
2017-06-05 13:13:38 -04:00
Michihiro Horie
3312fc717b 8179527: Implement intrinsic code for reverseBytes with load/store
Reviewed-by: simonis, mdoerr
2017-06-02 16:32:39 +02:00
Thomas Schatzl
f2b486212e 8177044: Remove _scan_top from HeapRegion
Remove the _scan_top member from HeapRegion using a per-gc pre-calculated table of scan limits that also subsumes other checks.

Reviewed-by: sangheki, kbarrett, ehelin
2017-06-02 13:48:01 +02:00
Thomas Schatzl
c982403296 8177707: Specialize G1RemSet::refine_card for concurrent/during safepoint refinement
Reviewed-by: ehelin, kbarrett
2017-06-02 13:47:54 +02:00
Thomas Schatzl
3e624c317a 8162928: Micro-optimizations in scanning the remembered sets
Reviewed-by: ehelin, kbarrett
2017-06-02 13:45:21 +02:00
Thomas Schatzl
92a1acb43b 8071280: Specialize HeapRegion::oops_on_card_seq_iterate_careful() for use during concurrent refinement and updating the rset
Reviewed-by: kbarrett, sangheki, ehelin
2017-06-02 13:45:15 +02:00
David Holmes
8ce49ec34e 8181451: JDK-8174231 broke some clang builds
Reviewed-by: stuefe, kbarrett, iveresov
2017-06-02 05:24:28 -04:00
Ekaterina Pavlova
aee7d17ae2 8181124: Get rid of compiler.testlibrary.rtm.predicate
Reviewed-by: kvn
2017-06-01 17:34:01 -07:00
Ekaterina Pavlova
6b5aaf68c6 8145728: compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java Expected message not found
Reviewed-by: kvn
2017-06-01 17:33:07 -07:00
Mikael Vidstedt
91920f154d 8181377: Capture underlying type for unsafe/unaligned pointers in ClassFileParser
Reviewed-by: dholmes, kbarrett
2017-06-01 09:34:53 -07:00
Per Lidén
ce57b75eef 8181319: Make os::Linux::sched_getcpu() available even when UseNUMA is false
Reviewed-by: dholmes, rehn
2017-05-31 13:17:00 +02:00
David Holmes
3e24f6d955 Merge 2017-06-01 02:21:18 +00:00
Igor Veresov
993168dfd8 8181369: Update Graal
Reviewed-by: kvn
2017-05-31 18:20:20 -07:00
Zhengyu Gu
025c1e8da9 8181055: PPC64: "mbind: Invalid argument" still seen after 8175813
Use numa_interleave_memory v2 api when available

Reviewed-by: dholmes, shade, gromero
2017-05-31 09:19:28 -04:00
Mikael Vidstedt
292ac89940 8180184: Add DATA and FSIZE to os::Posix::print_rlimit_info
Reviewed-by: dholmes, stuefe
2017-05-30 15:41:23 -07:00
David Holmes
3a8c8edb86 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems
Reviewed-by: stuefe, rehn, dcubed
2017-05-30 17:14:52 -04:00
Jesper Wilhelmsson
84ba3ee3b8 Merge 2017-05-29 20:48:10 +02:00
Coleen Phillimore
6659245612 8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc

Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
Mikael Vidstedt
f1f868513d 8180032: Unaligned pointer dereference in ClassFileParser
Reviewed-by: dholmes, hseigel
2017-05-26 13:47:33 -07:00
George Triantafillou
85abe8f6e6 8179861: Missing copyrights in some hotspot files
Reviewed-by: coleenp, dholmes, sspitsyn
2017-05-26 09:48:46 -04:00
Thomas Schatzl
4c944bd1ca 8180755: Remove use of bitMap.inline.hpp include from instanceKlass.hpp and c1_ValueSet.hpp
Reviewed-by: ehelin, coleenp, dholmes
2017-05-26 13:46:49 +02:00
Matthias Baesken
b47172b765 8180945: vmError.cpp : adjust dup and fclose
Reviewed-by: dholmes
2017-05-25 20:55:20 -04:00
Claes Redestad
d946df7272 Merge 2017-05-25 23:20:29 +00:00
Claes Redestad
9071d17dc9 8180614: Skip range and constraint checks on non-existent flags
Reviewed-by: iklam, gziemski
2017-05-26 01:04:05 +02:00
Igor Veresov
f87dd6a954 Merge 2017-05-25 22:33:25 +00:00
Igor Veresov
97de5d15d1 8181115: Update suite.py after JDK-8180267
Reviewed-by: kvn
2017-05-25 15:27:40 -07:00
Robbin Ehn
3ca4b6b01b 8152955: Many safepoints of "no vm operation" kind
Reviewed-by: dholmes, rkennke, shade
2017-05-25 09:43:43 +02:00
Robbin Ehn
ad4bc13f9f 8152953: ForceSafepoint operations should be more specific
Reviewed-by: dholmes, sspitsyn, rkennke, coleenp
2017-05-25 09:38:33 +02:00
Igor Ignatyev
32859294a2 8181053: port basicvmtest to jtreg
Reviewed-by: ehelin
2017-05-24 18:28:34 -07:00
Lutz Schmidt
81f1f2df46 8180612: [ppc] assert failure in cpu/ppc/vm/assembler_ppc.hpp due to immediate value out of range
Change RTM flags type to 'int' and set value range

Reviewed-by: simonis, kvn
2017-05-24 17:30:45 -07:00
Jesper Wilhelmsson
e459d51dc4 Merge 2017-05-24 22:27:40 +02:00
Claes Redestad
4d1141ee1c 8180763: Improve inlining of Symbol::equals(char*,int) into CompactHashtable
Reviewed-by: iklam, jiangli
2017-05-24 12:42:44 +02:00
Mikhailo Seledtsov
8437db66f3 8180631: [TESTBUG] CDS tests should use CDSTestUtils.executeAndLog whenever spawning sub processes
Updated all relevant call sites to use executeAndLog()

Reviewed-by: iklam, ccheung
2017-05-23 20:14:52 -07:00
Coleen Phillimore
b641222eda Merge 2017-05-23 18:42:08 +00:00
Zhengyu Gu
fd9c3d8158 8139673: NMT stack traces in output should show mtcomponent
Show memory types of malloc site in detail report

Co-authored-by: Max Ockner <max.ockner@oracle.com>
Reviewed-by: dholmes, shade, coleenp
2017-05-23 11:58:32 -04:00
Jesper Wilhelmsson
d599f0d03a Merge 2017-05-23 17:51:35 +02:00
Chihiro Ito
7d85a92ef0 8180654: Apply UL to PrintCodeCacheOnCompilation
Reviewed-by: kvn
2017-05-22 09:07:16 -07:00
Roman Kennke
8bda8fc602 8180599: Possibly miss to iterate monitors on thread exit
Move thread-local monitors to global lists before thread is removed from global threads list, to ensure all monitors get scanned

Reviewed-by: dholmes, rehn
2017-05-19 12:14:38 +02:00
Tobias Hartmann
4e05c8c099 Merge 2017-05-19 06:50:58 +00:00
Tobias Hartmann
2ee903d3ff 8180587: Assert in layout_helper_log2_element_size(jint) compares bits instead of bytes
Fixed assert to compare log2 element size in bytes.

Reviewed-by: zmajo, kvn
2017-05-19 08:36:49 +02:00
Yasumasa Suenaga
6e36f51f27 8180487: HotSpotResolvedJavaMethod.setNotInlineable() should be renamed to represent actual behavior
Rename setNotInlineable() to setNotInlineableOrCompileable()

Reviewed-by: dnsimon, kvn
2017-05-18 16:31:16 -07:00
Ekaterina Pavlova
cd0c6f3398 8180324: [JVMCI][TESTBUG] failed JVMCI junit test NativeCallTest.java
Reviewed-by: iignatyev, mseledtsov, kvn
2017-05-18 14:33:09 -07:00
Yasumasa Suenaga
f1589c23ac 8180601: hsdis generates duplicate output for JVMCI installed code
Remove duplicated hsdis output

Reviewed-by: dnsimon, kvn
2017-05-18 11:27:06 -07:00
Zoltan Majo
8d7312538b 8180473: Use proper deallocation for FileBuff::_bigbuf
Use the array-specific delete operator instead of the scalar delete operator.

Reviewed-by: kvn
2017-05-18 17:20:59 +02:00
David Buck
50f9e3ed40 Merge 2017-05-18 13:17:28 +00:00
Coleen Phillimore
f820e2f2ee 8166848: Performance bug: SystemDictionary - optimization
Check instead that a bucket isn't 10x the average

Reviewed-by: iklam, gziemski, sspitsyn
2017-05-18 08:17:52 -04:00
Vladimir Kempik
84fde21dc7 8177522: -XX:OnOutOfMemoryError does not work if supplied twice on windows
Use cmd /c on windows to execute onError commands

Reviewed-by: dholmes, hseigel
2017-05-18 08:14:33 -04:00
Roman Kennke
553d1e815b 8180175: ObjectSynchronizer only needs to iterate in-use monitors
When using -XX:+MonitorInUseLists, then only iterate in-use monitors.

Reviewed-by: zgu, dholmes, rehn
2017-05-17 23:36:19 +02:00
Aleksey Shipilev
ae8a3dd115 8180482: Reformat -XX:+PrintSafepointStatistics table
Reviewed-by: dholmes
2017-05-17 23:18:19 +02:00
Claes Redestad
3725b7c8ff Merge 2017-05-17 12:46:12 +00:00
Claes Redestad
76065fffd3 Merge 2017-05-17 12:20:17 +00:00
Harold Seigel
e6a49ea74b 8152295: Redundant CLCs for classes resolved in both loaders
Don't record loader constraints if both class loader classes are the same

Reviewed-by: coleenp, vlivanov, gtriantafill, lfoltan
2017-05-17 07:55:26 -04:00
Andrew Haley
14f1adfa69 Merge 2017-05-17 12:29:42 +01:00
Claes Redestad
994d76bdfc 8180479: [TESTBUG] Some hotspot tests broken after internal Unsafe name changes
Reviewed-by: thartmann
2017-05-17 12:13:29 +02:00
Claes Redestad
30498e26af 8180423: Remove flag UseRelocIndex
Reviewed-by: kvn, thartmann
2017-05-17 11:41:08 +02:00
Coleen Phillimore
1c06346c45 8180325: Use ClassLoaderData::classes_do for CDS classes
Use closures and ClassLoaderData::classes_do instead of SystemDictionary::classes_do

Reviewed-by: iklam, jiangli
2017-05-16 19:36:55 -04:00
Andrew Haley
bd29a4fb50 Merge 2017-05-16 18:33:22 +01:00
Harold Seigel
09d3f0e43d 8178604: JVM does not allow defining boot loader modules in exploded build after module system initialization
Allow defining of boot loader modules after initialization but add locks to synchronize access to exploded build list

Reviewed-by: dholmes, lfoltan
2017-05-16 09:33:49 -04:00
George Triantafillou
dd55dfc914 8179903: Clean up SPARC 32-bit support
Reviewed-by: gthornbr, fparain
2017-05-15 09:40:23 -04:00
Mikael Gerdin
c6ab5e594d 8180181: Get rid of FAST_DISPATCH from interpreter
Reviewed-by: coleenp, tschatzl
2017-05-11 16:33:18 +02:00
Ioi Lam
cc6f6ad2a6 8179769: serviceability/sa/TestCpoolForInvokeDynamic.java failing after changes for JDK-8171392
Updated SA Java code to match HotSpot C code.

Reviewed-by: sspitsyn, coleenp
2017-05-11 16:17:31 -07:00
Vladimir Kozlov
b2d6d6b622 8180267: Update Graal
Reviewed-by: iveresov
2017-05-12 13:56:13 -07:00
Vladimir Kozlov
063286a618 Merge 2017-05-12 13:14:25 -07:00
Thomas Schatzl
707c566055 8177764: Humongous Reclaimed log output may be confusing
Make all log messages dealing with humongous reclaim report number of handled objects, not regions.

Reviewed-by: pliden, sjohanss
2017-05-12 11:41:05 +02:00
Chihiro Ito
61b56ef305 8166191: Missing spaces in log message during heap expansion
Reviewed-by: tschatzl
2017-05-12 11:38:20 +02:00
Kim Barrett
afad47099c 8178813: Add test for G1 pre-barrier on dereference of weak JNI handles
Add regression test.

Reviewed-by: mgerdin, tschatzl, pliden
2017-05-11 23:41:57 -04:00
Mikael Vidstedt
4b288cf612 8180003: Remove sys/ prefix from poll.h and signal.h includes
Reviewed-by: dholmes, bpb
2017-05-11 17:55:03 -07:00
Igor Ignatyev
8ea9daf94a 8179930: jdk.test.lib.artifacts.ArtifactResolver::resolve should return Map instead of HashMap
Reviewed-by: mseledtsov, gtriantafill, vlivanov
2017-05-11 16:35:02 -07:00
Mikael Vidstedt
0159ab9baf 8180036: Guard include of fpu_control.h
Reviewed-by: dholmes
2017-05-11 09:42:19 -07:00
Mikael Vidstedt
41f95937de 8180039: Use more portable print format/arguments for rlim_t
Reviewed-by: dholmes, mgerdin, stuefe
2017-05-11 08:40:32 -07:00
Andrew Haley
0f25b7f98b 8179954: AArch64: C1 and C2 volatile accesses are not sequentially consistent
Reviewed-by: roland
2017-05-11 13:11:42 +01:00
Coleen Phillimore
83205603a6 Merge 2017-05-10 14:03:33 +00:00
Harold Seigel
ca7bc471dd 8153646: Move vm/utilities/array.hpp to vm/oops
Move the header file and update the appropriate #include statements.

Reviewed-by: sspitsyn, dholmes
2017-05-10 08:37:17 -04:00
Alexander Harlap
4dc55a6593 8065402: G1 does not expand marking stack when mark stack overflow happens during concurrent marking
Simplified decision mechanism for marking stack expansion

Reviewed-by: kbarrett, tschatzl
2017-05-09 13:50:06 -04:00
Goetz Lindenmaier
0ee4f3019d 8179953: [ppc] TLABWasteIncrement not loaded correctly
Also fix TestOptionWithRanges to show the bug.

Reviewed-by: dholmes, shade
2017-05-09 16:48:31 +02:00
Stefan Johansson
72a8ea429e 8179550: Unify trace logging for InstanceRefKlass
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:04:06 +02:00
Stefan Johansson
50ded710fd 8138888: Remove ExtendedOopClosure::apply_to_weak_ref_discovered_field
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:03:45 +02:00
Rachel Protacio
eb6d311b66 8154791: Xlog classload too redundant msgs info/debug
Removed redundant information from class+load UL messages, ensured side-by-side printing of different levels for same class, cleaned up code

Reviewed-by: iklam, dholmes
2017-05-08 09:45:24 -04:00
Kim Barrett
a65b58e18d 8178836: Improve PtrQueue index abstraction
Prefer element indexes where possible.

Reviewed-by: shade, mgerdin
2017-05-08 07:16:10 -04:00
Gustavo Romero
0e0b42b18a 8175813: PPC64: "mbind: Invalid argument" when -XX:+UseNUMA is used
Reviewed-by: simonis, dholmes
2017-05-07 16:42:03 -04:00
Vladimir Kozlov
4865e72a94 8179656: [AOT] Add AOT manual test scripts
Reviewed-by: iveresov
2017-05-06 09:36:01 -07:00
Vivek Deshpande
7a8af5acc8 8178811: Minimize the AVX <-> SSE transition penalty through generation of vzeroupper instruction on x86
Reviewed-by: kvn
2017-05-05 19:28:54 -07:00
Chris Plummer
ab371018d4 Merge 2017-05-06 00:05:32 +00:00
Chris Plummer
7aabb799f6 8164563: Test nsk/jvmti/CompiledMethodUnload/compmethunload001 keeps reporting: PRODUCT BUG: class was not unloaded in 5
Removed _pending_list

Reviewed-by: dholmes, sspitsyn, dcubed, coleenp
2017-05-05 14:22:35 -07:00
Kim Barrett
48d21bc1c7 8179004: Add an efficient implementation of the "count trailing zeros" operation
Added count_trailing_zeros function, with platform-dependent implementations.

Reviewed-by: dholmes, cjplummer
2017-05-05 16:20:42 -04:00
Jesper Wilhelmsson
7b8b238986 Merge 2017-05-05 17:48:45 +02:00
Ioi Lam
ba388eaccd 8176863: Remove Hashtable::reverse()
Reviewed-by: hseigel, sspitsyn, coleenp
2017-05-04 16:04:23 -07:00
Rachel Protacio
dd47191766 8067728: Flag::unlock_diagnostic() should be called Flag::clear_diagnostic()
Renamed function

Reviewed-by: iklam, hseigel
2017-05-04 14:32:37 -04:00
Goetz Lindenmaier
8bd00f84a5 8179618: Fixes for range of OptoLoopAlignment and Inlining flags
OptoLoopAlignment must be multiple of NOP size. Inlining flags must not exceed WarmCallInfo::MAX_VALUE().

Reviewed-by: kvn, stuefe
2017-04-28 14:34:24 +02:00
Stefan Karlsson
06cee886b1 8178490: Usages of is_object_aligned with pointers are broken
Reviewed-by: tschatzl, kbarrett
2017-04-11 23:45:37 +02:00
Stefan Karlsson
ed94ecff28 8182696: Remove gcTrace.hpp include from referenceProcessor.hpp
Reviewed-by: tschatzl, kbarrett
2017-06-22 09:07:47 +02:00
Rahul Kandu
12970ac663 8182138: Disable generating INC and DEC instructions on Xeon Phi and ATOM CPUs
Reviewed-by: kvn
2017-06-23 15:16:23 -07:00
Harold Seigel
5e4cca403b 8182720: In InstanceKlass.cpp, get init_lock from handle
Replace init_lock() calls with h_init_lock() calls

Reviewed-by: sspitsyn, coleenp
2017-06-23 09:54:52 -04:00
Kim Barrett
08361aedba Merge 2017-06-23 01:08:42 +00:00
Kim Barrett
6cc7e33ce7 8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Refactor debug.hpp and reverse include dependency.

Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Kim Barrett
06474bd8e9 Merge 2017-06-22 23:39:18 +00:00
Vladimir Kozlov
98923cb4c4 8181113: jaotc options lost after 8177046
Reviewed-by: iveresov, dlong
2017-06-22 15:26:34 -07:00
Christian Thalinger
ec241eb2a4 8182729: [AOT] remove UseConcMarkSweepGC check when loading libraries
Reviewed-by: kvn
2017-06-22 13:59:00 -07:00
Matthew Brandyberry
c0a589deba 8181810: PPC64: Leverage extrdi for bitfield extract
Reviewed-by: mdoerr, simonis
2017-06-22 18:33:41 +02:00
Jesper Wilhelmsson
3c874cfeb3 Merge 2017-06-22 00:51:07 +02:00
Vladimir Kozlov
dd676c3a98 8181823: [AOT] jaotc doesn't work with Graal
Add new flag to indicate when to calculate class fingerprint

Reviewed-by: iklam, iveresov
2017-06-21 10:28:27 -07:00
Sergey Nazarkin
8041519b2e 8182581: aarch64: fix for crash caused by earlyret of compiled method
Fix jvm crash caused by earlyret of compiled method for aarch64 port

Reviewed-by: aph
2017-06-20 17:00:07 +08:00
Igor Veresov
bd203875c4 8182557: Update Graal
Reviewed-by: kvn
2017-06-19 16:31:43 -07:00
Rahul Raghavan
6dc481d296 Merge 2017-06-19 11:23:16 +00:00
Rahul Raghavan
8ce7d1e1d8 8044829: UseAES warning message generation differs on CPU architecture
Fixed issue with feature flag setting when AES support disabled explicitly

Reviewed-by: kvn
2017-06-19 03:10:46 -07:00
Rahul Raghavan
2614e75f50 8016470: AllocatePrefetchDistance is not changed by command line
Values from command line given preference for related flags, over default values based on platform

Reviewed-by: thartmann, kvn
2017-06-19 01:23:58 -07:00
Vladimir Kozlov
ada9ed1287 8182114: assert(VM_Version::supports_sse()) failed
Restore UseSSE check for FMA

Reviewed-by: dcubed
2017-06-16 12:06:31 -07:00
Coleen Phillimore
af0b8d46d2 8181450: assert in BasicHashtable::verify_table
Remove assert as it has small probability of happening and added logging

Reviewed-by: kbarrett, sspitsyn
2017-06-16 09:13:56 -04:00
Harold Seigel
ea15e1ac26 Merge 2017-06-15 18:58:08 +00:00
Harold Seigel
42c183edfc 8182089: build error in hotspot/src/share/vm/runtime/reflection.cpp
Add const to argument in reflection.cpp so method signature matches the one in reflection.hpp

Reviewed-by: zgu, coleenp, rprotacio
2017-06-15 14:34:32 -04:00
Robbin Ehn
0d3624a309 8181859: Monitor deflation is not checked in cleanup path
Reviewed-by: sspitsyn, dcubed, shade, cvarming
2017-06-15 09:52:44 +02:00
Erik Österlund
2a0bd0cd04 8181785: Remove the experimental ClearFPUAtPark JVM Flag
Removing the experimental and unstable ClearFPUAtPark optimization for SPARC

Reviewed-by: kbarrett, tschatzl, rehn
2017-06-14 08:47:27 +02:00
Erik Österlund
7bea157c87 8181318: Allow C++ library headers on Solaris Studio
Allow studio to compile but not link against the stlport4 C++ standard library

Reviewed-by: dholmes, dcubed, erikj
2017-06-14 01:30:11 -07:00
Fei Yang
4555997c30 8182161: aarch64: combine andr+cbnz into tbnz when possible
Combine andr+cbnz into tbnz when possible to save one instruction

Reviewed-by: aph
2017-06-14 17:33:54 +08:00
Igor Veresov
1cbd0bd202 Merge 2017-06-13 16:29:42 +00:00
Igor Veresov
614d1c048b 8182018: Update Graal
Reviewed-by: kvn
2017-06-13 09:19:35 -07:00
Kim Barrett
8a5654850e 8086005: Define __STDC_xxx_MACROS config macros globally via build system
Moved macro definitions to hotspot build configuration

Reviewed-by: erikj, eosterlund
2017-06-13 11:10:33 -04:00
Kim Barrett
98a9f40e34 8181787: Remove Solaris SPARC GCC code
Remove obsolete code.

Reviewed-by: kbarrett, coleenp, gtriantafill
2017-06-13 07:30:11 -04:00
Thomas Stuefe
7c972a103a 8182034: os::Posix::is_valid_signal() should, if it uses sigaddset, initialize the signal set
Added missing sigemptyset.

Reviewed-by: kbarrett, clanger
2017-06-13 08:09:17 +02:00
Teng Lu
c37f9d8c90 8181906: AArch64: port bugfix for 7009641 to AArch64
Allocation in the code cache returns NULL instead of failing the entire VM

Reviewed-by: aph
2017-06-10 16:01:29 +08:00
Roland Westrelin
698444f968 8181211: C2: Use profiling data to optimize on/off heap unsafe accesses
Reviewed-by: kvn
2017-06-09 10:51:52 +02:00
Zhongwei Yao
d9c1f52541 8179933: AArch64: Incorrect match rule for immL_255
The match rule fix will enable instructs like: SubExtL_uxtb_and and AddExtL_uxtb_and etc. Also rename immL_63 to the proper name: immI_63.

Reviewed-by: aph
2017-05-12 14:59:35 +08:00
Lana Steuck
4f051b490a Merge 2017-04-08 03:24:45 +00:00
Igor Ignatyev
9cc73e8656 Merge 2017-04-08 02:40:47 +00:00
Igor Ignatyev
c4d0e65015 8178333: CTW/PathHandler uses == instead of String::equals for string comparison
Reviewed-by: kvn
2017-04-07 19:36:35 -07:00
Andrew Haley
7b865d0e66 8170812: Metaspace corruption caused by incorrect memory size for MethodCounters
Reviewed-by: kbarrett, coleenp
2017-04-07 13:42:00 +01:00
Thomas Schatzl
442c887522 Merge 2017-04-07 10:51:28 +00:00
Alan Bateman
3919d858ca Merge 2017-04-07 10:58:27 +01:00
Y. Srinivas Ramakrishna
961c251005 8177963: Parallel GC fails fast when per-thread task log overflows
Instead of exiting the VM when per-thread task log overflows, print warnings once and ignore any further log addition attempt.

Reviewed-by: ysr, kbarrett, sangheki
2017-04-07 10:45:26 +02:00
Alan Bateman
a3ab143c64 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: lfoltan, sspitsyn
2017-04-07 08:04:46 +00:00
Lana Steuck
df4bbc7632 Merge 2017-04-06 18:00:50 +00:00
Lana Steuck
4ffa7d7bfc Added tag jdk-9+164 for changeset 8c642d0b237e 2017-04-06 17:01:01 +00:00
Tom Rodriguez
35d89151e8 8178119: [JVMCI] when rethrowing exceptions at deopt the exception must be fetched after materialization
Reviewed-by: kvn
2017-04-06 00:03:18 -07:00
David Holmes
bb2a9268c7 8135161: Missing commas in copyright notices
Reviewed-by: sspitsyn
2017-04-11 19:39:16 -04:00
Igor Veresov
767a994f9c 8176887: AOT: SIGSEGV in AOTCodeHeap::next when using specific configuration
Derive MethodCounters from Metadata

Reviewed-by: kvn, coleenp
2017-04-11 11:34:20 -07:00
Tobias Hartmann
a8a97e6625 8178033: C1 crashes with -XX:UseAVX = 3: "not a mov [reg+offs], reg instruction"
Skip the EVEX prefix such that the instruction address points to the prefixed opcode.

Reviewed-by: kvn, mcberg
2017-04-06 08:19:42 +02:00
Lana Steuck
71d06e676b Merge 2017-04-06 04:50:34 +00:00
Doug Simon
d28f63fb9e 8177673: [JVMCI] missing checks in HotSpotMemoryAccessProviderImpl can cause VM assertions to fail
Reviewed-by: never, iveresov
2017-04-03 14:58:17 -07:00
Igor Veresov
d76b89606e 8177856: [AOT] EliminateRedundantInitializationPhase is not working
Looks for constants of a correct type

Reviewed-by: kvn
2017-04-03 12:34:30 -07:00
Mario Torre
bb85a687d4 8177390: java -version does not differentiate between which port of AArch64 is used
Reviewed-by: aph, dholmes
2017-03-29 15:44:34 +00:00
Jesper Wilhelmsson
aa49aa7eab Merge 2017-03-30 19:55:04 +02:00
Lana Steuck
c4502f2815 Added tag jdk-9+163 for changeset 5c8abd7d8b49 2017-03-29 23:33:05 +00:00
Andrew Dinn
42e6eea305 8177661: AArch64: Incorrect C2 patterns cause system register corruption
Correct ad rule output register types from iRegX to iRegXNoSp

Reviewed-by: aph, kvn
2017-03-27 06:18:28 -04:00
Tobias Hartmann
3e59334eef 8177095: Range check dependent CastII/ConvI2L is prematurely eliminated
Disabled narrowing of range check dependent CastIIs (either through the CastII(AddI) optimization or through CastIINode::Ideal).

Reviewed-by: vlivanov, kvn
2017-03-27 10:12:29 +02:00
Matthias Baesken
0e43e94709 8177531: libGetNamedModuleTest.c crash when printing NULL-pointer
Fix the NULL-pointer issue

Reviewed-by: stuefe, simonis, sspitsyn
2017-03-25 00:00:13 -07:00
Lana Steuck
33f168f4ec Merge 2017-03-25 01:44:22 +00:00
Jesper Wilhelmsson
3884c0ae28 Merge 2017-03-25 00:31:29 +01:00
Phil Race
5506a3b126 8177346: hotspot change for 8176513 breaks jdk9 build on Ubuntu 16.04
Reviewed-by: dholmes, kvn, vlivanov
2017-03-24 08:56:04 -07:00
Lana Steuck
bfc496ec64 Merge 2017-03-23 22:57:41 +00:00
Lana Steuck
2aed45998f Added tag jdk-9+162 for changeset 6191bb6ebcbd 2017-03-23 22:31:11 +00:00
David Holmes
498c318982 8165358: vmassert_status is not debug-only
Reviewed-by: dsamersoff, stuefe, zgu
2017-03-23 17:15:33 -04:00
Tobias Hartmann
b6c0d9ee23 8173770: Image conversion improvements
Reviewed-by: kvn, vlivanov, dlong, rhalade, mschoene, iignatyev
2017-03-23 15:14:18 +01:00
Jesper Wilhelmsson
dcb7ac8c13 Merge 2017-03-23 15:06:58 +01:00
Alan Bateman
fa73a9b912 Merge 2017-03-22 18:41:25 +00:00
Alan Bateman
73165d34e4 8174823: Module system implementation refresh (3/2017)
Reviewed-by: sspitsyn, dholmes, lfoltan, mchung
2017-03-22 16:26:09 +00:00
Mikael Gerdin
cc1aaab7e9 8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, coleenp, tschatzl
2017-03-22 15:25:21 +01:00
Robbin Ehn
6b15d9a82b 8177092: [TESTBUG] JMX test on MinimalVM fails after fix for 8176533
Reviewed-by: dholmes, mlarsson
2017-03-21 16:36:12 +01:00
Jesper Wilhelmsson
65d9c94add Merge 2017-03-20 23:49:33 +01:00
Martin Doerr
16a222c4ff 8176518: C2: Invalid ImplicitNullChecks with non-protected heap base
Avoid generating implicit null checks if heap base is not protected

Reviewed-by: zmajo
2017-03-20 11:32:30 +01:00
Jesper Wilhelmsson
1fab71d649 Merge 2017-03-17 16:15:14 -07:00
Lana Steuck
f1dabb55b4 Merge 2017-03-16 20:47:13 +00:00
Jesper Wilhelmsson
e0e0ec960a Merge 2017-03-16 12:09:14 -07:00
Lana Steuck
a085f48913 Added tag jdk-9+161 for changeset 9e96ed85ffa4 2017-03-16 16:34:34 +00:00
Roland Westrelin
23ef045ab2 8176513: Poor code quality for ByteBuffers
Relaxes the condition under which MemBarCPUOrder nodes are added around unsafe accesses.

Reviewed-by: vlivanov, kvn, jrose
2017-03-15 18:18:04 -07:00
Claes Redestad
c40d2d5af7 8176593: Throwable::getStackTrace performance regression
Reviewed-by: jiangli, iklam, coleenp, sspitsyn
2017-03-15 13:03:13 +01:00
Lana Steuck
b636d90917 Merge 2017-03-13 19:59:41 +00:00
Volker Simonis
1cd78903a8 8176505: Wrong assertion 'should be an array copy/clone' in arraycopynode.cpp
Reviewed-by: thartmann, roland
2017-03-13 16:07:17 +01:00
Robbin Ehn
56f838f4ee 8176098: Deprecate FlatProfiler
Reviewed-by: shade, coleenp
2017-03-14 12:00:02 +01:00
Jamsheed Mohammed C M
fcd4be97ff 8176573: Do not use FLAG_SET_ERGO to update MaxRAM for emulated client
Used FLAG_SET_DEFAULT to update MaxRAM

Reviewed-by: kvn
2017-03-13 23:36:14 -07:00
Thomas Stuefe
0af886d583 8176442: [aix] assert(_thr_current == 0L) failed: Thread::current already initialized
Revert Thread::current() back to pthread library based TLS on AIX.

Reviewed-by: dholmes
2017-03-13 21:46:37 -04:00
Jesper Wilhelmsson
432179b610 Merge 2017-03-13 15:56:09 -07:00
Harold Seigel
958af9b3c3 8176471: [TESTBUG] runtime/modules/IgnoreModulePropertiesTest.java fails with OpenJDK: java.lang.RuntimeException: 'java version ' missing from stdout/stderr
Check for strings such as " version " and "Runtime Environment" that appear in 'java -version' for both open and closed builds.

Reviewed-by: coleenp
2017-03-13 16:23:17 -04:00
Magnus Ihse Bursie
6fdd375563 8176509: Use pandoc for converting build readme to html
Reviewed-by: erikj
2017-03-13 14:02:12 +01:00
Jesper Wilhelmsson
27d26f83ae Merge 2017-03-11 23:23:06 -08:00
Lana Steuck
cbbe8e8669 Merge 2017-03-09 23:15:59 +00:00
Lana Steuck
c3c2f2943f Added tag jdk-9+160 for changeset f306167ed337 2017-03-09 21:35:17 +00:00
Mikael Gerdin
586de47879 8176363: Incorrect lock rank for G1 PtrQueue related locks
Reviewed-by: mgronlun, coleenp, kbarrett, dholmes, tschatzl
2017-03-09 16:58:45 +01:00
Zoltan Majo
b3914e7e21 8175340: Possible invalid memory accesses due to ciMethodData::bci_to_data() returning NULL
Check values returned by ciMethodData::bci_to_data() where necessary.

Reviewed-by: kvn
2017-03-09 14:27:21 +01:00
Rahul Raghavan
b2783bb80a 8175345: Reported null pointer dereference defect groups
Added required explicit NULL checks

Reviewed-by: thartmann, kvn
2017-03-09 00:16:51 -08:00
Harold Seigel
3064b3e35d 8176147: JVM should throw CFE for duplicate Signature attributes
Add the needed checks to ClasFileParser for duplicate Signature attributes.

Reviewed-by: dholmes, gtriantafill
2017-03-08 09:04:21 -05:00
Vladimir Kozlov
b3f90c8e86 8176238: [AOT] failure to build jdk.vm.compier with --with-jobs=1 configure flag
Add --add-modules jdk.internal.vm.ci to Graal annotation process command line.

Reviewed-by: iveresov, mchung
2017-03-07 09:32:49 -08:00
Nils Eliasson
de10f56d52 8164954: split_if creates empty phi and region nodes
Don't split if all edges will be moved to new phi

Reviewed-by: kvn, vlivanov
2017-03-06 14:08:52 +01:00
Jesper Wilhelmsson
344eafdf14 Merge 2017-03-06 21:28:33 +01:00
Harold Seigel
b7121021af 8175383: JVM should throw NCDFE if ACC_MODULE and CONSTANT_Module/Package are set
If bad constant is seen, save it to throw CFE if ACC_MODULE is not in access_flags

Reviewed-by: dholmes, acorn, lfoltan, gtriantafill
2017-03-06 09:45:58 -05:00
Igor Ignatyev
5cdba20f81 8172457: JarDirTest.java fails after recent change
Reviewed-by: iveresov
2017-03-05 22:25:52 -08:00
Jesper Wilhelmsson
0a712bf32f Merge 2017-03-03 20:50:26 +01:00
Lana Steuck
82023c9aa9 Added tag jdk-9+159 for changeset e15b96207e47 2017-03-02 21:16:15 +00:00
Jesper Wilhelmsson
ca341236ca 8176054: [BACKOUT][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, mgerdin
2017-03-02 17:46:59 +01:00
Christian Haeubl
5bd3dfadc6 8175917: [JVMCI] Avoid long JNI handle chains
Reviewed-by: never, kvn
2017-02-27 17:36:36 +01:00
Aleksey Shipilev
9e4e386872 8175887: C1 value numbering handling of Unsafe.get*Volatile is incorrect
Reviewed-by: vlivanov
2017-03-01 14:51:12 +03:00
Bob Vandette
4bb373767a Merge 2017-02-28 10:47:09 -05:00
Bob Vandette
b9854ff95a 8175567: Build of hotspot for arm-vfp-sflt fails
Reviewed-by: kvn, cjplummer
2017-02-28 10:44:49 -05:00
Jesper Wilhelmsson
eb6669bff0 Merge 2017-02-24 19:48:33 +01:00
Jesper Wilhelmsson
99e20e2480 Merge 2017-02-24 12:01:33 +01:00
Erik Helin
4145e90718 8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking
Reviewed-by: dholmes, tschatzl, coleenp, kbarrett, eosterlund, stefank
2017-02-23 18:57:10 +01:00
Doug Simon
86a9ef8d83 8175811: [JVMCI] StubRoutines::_multiplyToLen symbol needs to exported
Reviewed-by: thartmann
2017-02-24 04:32:11 -08:00
Tobias Hartmann
c7de967bcb 8139906: assert(src->section_index_of(target) == CodeBuffer::SECT_NONE) failed: sanity
The card table address used in the g1_post_barrier_slow stub should not be marked as relocatable.

Reviewed-by: kvn
2017-02-24 11:52:04 +01:00
Lana Steuck
e61d6aef94 Merge 2017-02-23 17:30:21 +00:00
Lana Steuck
7a3d0a1349 Merge 2017-02-23 17:22:44 +00:00
Lana Steuck
3714541749 Added tag jdk-9+158 for changeset 1ea025bbd11d 2017-02-23 16:21:27 +00:00
Markus Grönlund
f889b5119c 8175178: Stack traversal during OSR migration asserts with invalid bci or invalid scope desc on x86
Reviewed-by: dcubed, coleenp
2017-02-23 16:55:59 +01:00
Rickard Bäckman
5b097b494d 8175336: [TESTBUG] aot junit tests added by 8169588 are not executed
Reviewed-by: kvn
2017-02-23 10:08:51 +01:00
Jini George
742dee356f 8162504: TestInstanceKlassSize.java and TestInstanceKlassSizeForInterface.java fail on Mac OS
Modify TestInstanceKlassSizeForInterface.java to avoid the error prone mechanism of spawning a process and attaching back to the current process. Use LingeredApp instead.

Reviewed-by: dsamersoff, sspitsyn
2017-02-23 12:19:03 +05:30
Gerard Ziemski
ad7a2057c2 8175135: Header template correction for year
Added comma.

Reviewed-by: dcubed, gthornbr
2017-02-22 11:20:12 -06:00
Claes Redestad
b1e28ffd5a 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:04:03 +01:00
Harold Seigel
90bde9549e 8174725: JVM should throw NoClassDefFoundError if ACC_MODULE is set in access_flags
Check if ACC_MODULE is set, and if so, throw NoClassDefFoundError exception

Reviewed-by: dholmes, alanb, acorn, coleenp, lfoltan, gtriantafill
2017-02-21 09:53:49 -05:00
Kevin Walls
e477609f73 8162795: [REDO] MemberNameTable doesn't purge stale entries
Re-application of the change in JDK-8152271.

Reviewed-by: coleenp, sspitsyn
2017-02-21 02:27:01 -08:00
Igor Veresov
f5f86b2ed6 Merge 2017-02-18 06:48:41 +00:00
Igor Veresov
9b234db391 8175217: [AOT] Fix suite.py after module renaming
Fix paths in suite.py

Reviewed-by: kvn
2017-02-17 21:54:30 -08:00
Vladimir Kozlov
e309127c9e 8175052: [AOT] jaotc does not accept file name with .class
Reviewed-by: iveresov
2017-02-17 21:06:59 -08:00
Mikael Gerdin
90fdff0e70 8175085: [REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, dcubed, tschatzl
2017-02-17 13:16:54 +01:00
Jini George
1830b30f19 8175512: new TestPrintMdo.java fails with -XX:TieredStopAtLevel=1
Avoid running the test for -XX:TieredStopAtLevel=1 due to the lack of mdo data from JIT in this case.

Reviewed-by: dsamersoff, sspitsyn
2017-02-28 10:10:14 +05:30
Vladimir Kozlov
69c0f2aba4 8175516: JNI exception pending in jdk_tools_jaotc_jnilibelf_JNILibELFAPI.c:97
Add missing NULL checks

Reviewed-by: iveresov
2017-02-27 15:59:22 -08:00
Jesper Wilhelmsson
7217137797 Merge 2017-02-27 18:24:19 +01:00