Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Tobias Hartmann
00aa20db4a
8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
...
Always use MDO if valid and always compile trivial methods with C1 if available.
Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Albert Noll
6520320d1a
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full
...
Use separate sweeper thread; enables more aggressive sweeping.
Reviewed-by: kvn, jrose
2014-10-24 14:25:46 +02:00
Lois Foltan
edc10143cb
8036805: Correct linker method lookup
...
Correct handling of array of primitive type qualifiers during field and method resolution.
Reviewed-by: acorn, hseigel, ahgross
2014-05-07 19:38:22 +04:00
Tobias Hartmann
ea755702aa
8059468: Fix PrintCodeCache output changed by JDK-8059137
...
Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.
Reviewed-by: vlivanov, anoll
2014-09-30 15:44:43 +02:00
Jesper Wilhelmsson
f9b921bd25
Merge
2014-09-22 16:22:21 +02:00
Tobias Hartmann
cd01de591a
8015774: Add support for multiple code heaps
...
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.
Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Tobias Hartmann
dd6285d984
8048721: -XX:+PrintCompilation prints negative bci for non entrant OSR methods
...
Removed 'InvalidOSREntryBci' and checking nmethod::_state instead to determine if an osr method is non-entrant.
Reviewed-by: kvn, vlivanov, drchase
2014-09-15 08:08:22 +02:00
Bengt Rutisson
f42eb3b19e
Merge
2014-09-19 12:11:08 +00:00
Marcus Larsson
59bc281604
8035729: Code using assert(is_oop_or_null) needs better error messages
...
Modified error messages to include the oops
Reviewed-by: stefank, tschatzl
2014-09-18 11:04:00 +02:00
David Chase
4c9f643e10
8054292: code comments leak in fastdebug builds
...
Added deallocation to destructor; hardened interface against misuse
Reviewed-by: kvn
2014-08-29 19:45:49 -04:00
Severin Gehwolf
31f98c26fc
8055231: ZERO variant build is broken
...
Fix zero build.
Reviewed-by: coleenp
2014-08-15 15:25:24 -04:00
Coleen Phillimore
cafb36661d
8003426: Remove UseFastAccessors and UseFastEmptyMethods except for zero
...
These options have been long disabled in Xmixed mode because they prevent these small methods from being inlined and are subject to bit rot, and we don't need more macro assembler code to maintain and change if the constant pool cache format changes.
Reviewed-by: simonis, kvn
2014-08-12 10:48:55 -04:00
Coleen Phillimore
d230f0b4fd
8051398: jvmti tests fieldacc002, fieldmod002 fail in nightly with errors: (watch#0) wrong location
...
Didn't handle NULL bcp for native methods
Reviewed-by: dcubed, sspitsyn
2014-07-31 00:50:55 +00:00
Coleen Phillimore
c9b2bc62c9
Merge
2014-07-14 10:15:21 -04:00
Serguei Spitsyn
206c37a5e6
Merge
2014-07-12 01:26:13 -07:00
Roland Westrelin
471e47dddf
Merge
2014-07-11 02:34:11 -07:00
Serguei Spitsyn
36d6bfea4e
8013942: JSR 292: assert(type() == T_OBJECT) failed: type check
...
A dead scope of the local needs to be identified
Reviewed-by: coleenp, vlivanov, mgronlun
2014-07-10 17:46:35 -07:00
Coleen Phillimore
06cea98803
8048933: -XX:+TraceExceptions output should include the message
...
Add the exception detail message to the tracing output
Reviewed-by: minqi, dholmes
2014-07-09 22:37:48 -04:00
Roland Westrelin
a03d25366a
Merge
2014-07-09 02:50:46 -07:00
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Markus Grönlund
034751cd14
8039905: heapdump/OnOOMToFile and heapdump/OnOOMToPath fail with "assert(fr().interpreter_frame_expression_stack_size() >= length) failed: error in expression stack!"
...
Reviewed-by: coleenp, sspitsyn
2014-07-03 21:37:31 +02:00
Coleen Phillimore
bc6fafb55a
8048169: Change 8037816 breaks HS build on PPC64 and CPP-Interpreter platforms
...
Fix the matching of format string parameter types to the actual argument types for the PPC64 and CPP-Interpreter files in the same way as 8037816 already did it for all the other files
Reviewed-by: stefank, coleenp, dholmes
2014-06-30 14:58:52 -04:00
Jon Masamitsu
38aa661273
Merge
2014-06-26 18:55:29 -07:00
Tobias Hartmann
fa6b220619
8022968: Some codecache allocation failures don't result in invoking the sweeper
...
Add calls to CompileBroker::handle_full_code_cache() or fail gracefully whenever allocation in the code cache fails.
Reviewed-by: iveresov, vlivanov
2014-07-03 08:46:44 +02:00
Lev Priima
644042fe4a
8041794: remove bytecodes_<arch>.{cpp,hpp} files
...
Reviewed-by: dholmes, coleenp, twisti, iignatyev
2014-06-20 22:39:56 +04:00
Harold Seigel
b6a2f946f6
8031819: Remove legacy jdk checks and code
...
Delete old jdk specific code.
Reviewed-by: dholmes, coleenp, zgu, lfoltan
2014-06-11 09:58:23 -04:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Vladimir Ivanov
679712201d
8034935: JSR 292 support for PopFrame has a fragile coupling with DirectMethodHandle
...
Reviewed-by: twisti, jrose, sspitsyn
2014-05-29 09:41:07 +00:00
Yuri Gaevsky
cc3c656cf1
8025580: Temporary flags: UseNewReflection and ReflectionWrapResolutionErrors
...
The fix removes all UseNewReflection/ReflectionWrapResolutionErrors occurrences/logic and adds them into the list of obsolete_jvm_flags in arguments.cpp.
Reviewed-by: coleenp, hseigel
2014-05-15 17:38:50 -04:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Volker Simonis
142ed91465
8042443: Fix C++-Interpreter after "8036956: remove EnableInvokeDynamic flag"
...
Insert missing bracket to make the interpreter build again
Reviewed-by: sla
2014-05-06 13:08:28 +02:00
Tobias Hartmann
06c26b6f97
8036956: remove EnableInvokeDynamic flag
...
The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.
Reviewed-by: kvn, twisti
2014-04-29 08:08:44 +02:00
Bharadwaj Yadavalli
32024b5144
Merge
2014-04-17 13:50:26 -04:00
Lois Foltan
8c36d0cd2b
8033150: invokestatic: IncompatibleClassChangeError trying to invoke static method from a parent in presence of conflicting defaults
...
A static method should be preferred during method resolution over an overpass, search the current class as well as its superclasses.
Reviewed-by: acorn, coleenp, kamg
2014-04-14 14:27:45 -04:00
Roland Westrelin
f5adc57f94
8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
...
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.
Reviewed-by: twisti, kvn
2014-04-01 09:36:49 +02:00
Roland Westrelin
b21d142f01
8037970: make PrintMethodData a diagnostic options
...
Make PrintMethodData a diagnostic options for performance investigation
Reviewed-by: kvn, iveresov
2014-03-31 10:35:06 +02:00
Axel Siebenborn
faad7883f2
8036976: PPC64: implement the template interpreter
...
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: kvn, coleenp
2014-03-10 12:58:02 +01:00
Roland Westrelin
7bee30f699
8036146: make CPP interpreter build again
...
Fix build of CPP interpreter on x86 and sparc
Reviewed-by: kvn
2014-03-05 15:14:25 +01:00
Roland Westrelin
493557fc90
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
...
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.
Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Axel Siebenborn
b0422f5f50
8035392: cppInterpreter: fix message of NPE
...
Reviewed-by: kvn
2014-02-20 10:48:57 +01:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Coleen Phillimore
2759eb10ae
8033528: assert(0 <= i && i < length()) failed: index out of bounds
...
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.
Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Calvin Cheung
a3c78aac2f
8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
...
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution
Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Harold Seigel
fe0b2eae89
8031045: Access checks should precede additional per-instruction checks
...
Move access check above the check for non-static method
Reviewed-by: lfoltan, coleenp
2014-01-17 09:39:51 -05:00
Martin Doerr
0306737032
8029101: PPC64 (part 211): ordering of Independent Reads of Independent Writes
...
Reviewed-by: dholmes, kvn
2014-01-16 14:25:51 +01:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Harold Seigel
4856bd53aa
8027804: JCK resolveMethod test fails expecting AbstractMethodError
...
Create AME overpass methods and fix method search logic
Reviewed-by: kamg, acorn, lfoltan, coleenp
2013-12-16 08:24:33 -05:00