Zoltan Majo
9755168fe2
Merge
2015-03-20 11:53:01 +01:00
Roland Westrelin
71e31ee0b9
8073480: C2 should optimize explicit range checks
...
Explicit range checks should be recognized by C2
Reviewed-by: kvn, vlivanov
2015-03-17 10:06:31 +01:00
Coleen Phillimore
7b384c6958
8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
...
Only do full metadata walk during class redefinition and only walk handles during class unloading.
Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Christian Tornqvist
6465239986
Merge
2015-03-02 05:32:01 -08:00
Serguei Spitsyn
942d1f7f32
8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
...
Optimize the adjust_method_entries functions by using the orig_method_idnum() function
Reviewed-by: coleenp, dcubed
2015-02-25 00:30:54 -08:00
Vladimir Ivanov
93f9344ff4
Merge
2015-02-19 11:12:59 -08:00
Stefan Karlsson
2e888853a1
8073387: Move VerifyOopClosures out from genOopClosures.hpp
...
Reviewed-by: brutisso, mgerdin, coleenp
2015-02-18 08:57:29 +01:00
David Chase
46fa321d63
8069412: Locks need better debug-printing support
...
Added better debug-printing support and enhanced LogCompilation tool
Reviewed-by: kvn, roland, dholmes
2015-02-17 13:54:53 -05:00
Stefan Karlsson
4913ad5d7d
8072911: Remove includes of oop.inline.hpp from .hpp files
...
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Serguei Spitsyn
8be0bb5458
8008678: JSR 292: constant pool reconstitution must support pseudo strings
...
Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.
Reviewed-by: coleenp, jrose
2015-01-29 03:11:01 -08:00
Yumin Qi
3bbda04f98
Merge
2015-01-27 20:02:35 -08:00
Alejandro Murillo
bbd13b5561
Merge
2015-01-22 22:42:31 -08:00
Zoltan Majo
e559c17954
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
...
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level
Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Coleen Phillimore
ee01e4e88b
Merge
2015-06-24 21:58:05 -04:00
Bill Pittore
304b59b0c8
8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
...
Need to add a space between macro identifier and string literal
Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Lois Foltan
5f8b5ceaee
8067480: Crash in klassItable::initialize_itable_for_interface when running vm.runtime.defmeth.StaticMethodsTest
...
A static method should be skipped in entirety by find_instance_method(), searching should continue to find an overpass method of the same name and signature if present.
Reviewed-by: acorn, hseigel
2015-01-23 09:54:33 -05:00
Dean Long
f5750b67fd
Merge
2015-01-08 17:45:10 -05:00
Coleen Phillimore
27a1ed85b6
8067836: The Universe::flush_foo methods belong in CodeCache
...
Move this code to CodeCache.
Reviewed-by: kbarrett, kvn
2015-01-06 19:30:28 -05:00
Coleen Phillimore
2b871d6987
6583051: crash when adding non-static methods to java.lang.Object class
...
Stop the JVM if java.lang.Object is incorrectly defined rather than crashing.
Reviewed-by: ctornqvi, dholmes
2015-01-05 22:50:59 -05:00
Karen Kinnear
4f7ab1448e
8065366: Better private method resolution
...
Reviewed-by: hseigel, lfoltan, coleenp, ahgross
2014-12-19 11:48:50 -08:00
Coleen Phillimore
feb09bc118
8067713: Move clean_weak_method_links for redefinition out of class unloading
...
Do this work during class redefinition, only verify clean during class unloading in debug mode.
Reviewed-by: sspitsyn, roland, kbarrett
2014-12-18 16:15:21 -05:00
Roland Westrelin
2e82794bfa
6700100: optimize inline_native_clone() for small objects with exact klass
...
Optimize small instance clones as loads/stores
Reviewed-by: kvn, iveresov
2014-12-16 13:49:36 +01:00
Jesper Wilhelmsson
ac1c0ee5d2
Merge
2015-02-23 18:40:04 +01:00
Stefan Karlsson
cd997db44d
8073543: Circular include dependency between psScavenge.inline.hpp and psPromotionManager.inline.hpp
...
Reviewed-by: brutisso, mgerdin
2015-02-20 13:54:42 +01:00
Stefan Karlsson
ccb2f23f08
8073554: Remove unnecessary includes of markSweep[.inline].hpp
...
Reviewed-by: tschatzl, coleenp
2015-02-20 15:23:01 +01:00
Yumin Qi
bb30bd7e0a
Merge
2014-12-08 00:15:55 -08:00
Coleen Phillimore
4b628f1aee
8066171: Out of order with Metaspace allocation lock
...
Lock resolved_references instead.
Reviewed-by: twisti, sspitsyn
2014-12-05 15:15:13 -05:00
David Chase
0b7c6dc57c
Merge
2014-12-04 11:35:09 -05:00
Jesper Wilhelmsson
9b430f2262
Merge
2014-12-04 10:40:19 +01:00
Tobias Hartmann
f9806ff009
8066448: SmallCodeCacheStartup.java exits with exit code 1
...
Check for VirtualMachineError in case VM initialization fails.
Reviewed-by: kvn
2014-12-04 09:52:15 +01:00
Yumin Qi
9767fa7cb2
Merge
2014-12-03 20:32:33 -08:00
David Chase
2080004ef0
8064524: Compiler code generation improvements
...
Reviewed-by: jrose, acorn, vlivanov
2014-12-01 13:06:20 -05:00
Stefan Karlsson
28adfbf0be
8075249: Cleanup forward_to_atomic and ClaimedForwardPtr
...
Reviewed-by: kbarrett, brutisso
2015-03-17 15:53:55 +01:00
Stefan Karlsson
366bf9ff09
8075247: Cleanup specialized_oop_closures.hpp
...
Reviewed-by: mgerdin, brutisso, tschatzl
2015-03-17 14:18:52 +01:00
Stefan Karlsson
426a345fec
8075242: Remove SpecializationStats
...
Reviewed-by: brutisso, mgerdin
2015-03-17 13:23:49 +01:00
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
Jesper Wilhelmsson
4fafece403
Merge
2014-12-01 12:11:11 +01:00
Bengt Rutisson
0ecc753586
8065972: Remove support for ParNew+SerialOld and DefNew+CMS
...
Reviewed-by: mgerdin, stefank
2014-11-27 21:02:13 +01:00
Jesper Wilhelmsson
3c3e60d5be
Merge
2014-11-26 18:01:10 +01:00
Coleen Phillimore
4151db8bfd
8042235: redefining method used by multiple MethodHandles crashes VM
...
Note all MemberNames created on internal list for adjusting method entries.
Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Staffan Larsen
c217bdda86
Merge
2014-11-17 09:36:40 +01:00
Eric McCorkle
3e575a7078
8064571: java/lang/instrument/IsModifiableClassAgent.java: assert(length > 0) failed: should only be called if table is present
...
Remove tautological assert
Reviewed-by: coleenp, lfoltan, sspitsyn, jiangli
2014-11-14 12:45:55 -05:00
David Chase
f454e5e02c
Merge
2014-11-13 11:35: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
Eric McCorkle
bbd7b058d1
8058313: Mismatch of method descriptor and MethodParameters.parameters_count should cause MalformedParameterException
...
Allow hotspot to store and report zero-length MethodParameters attribute data
Reviewed-by: coleenp, jiangli
2014-11-10 16:45:46 -05:00
Staffan Larsen
bcb6a1586a
Merge
2014-11-06 19:59:32 +00:00
Jeremy Manson
54e9fee4d2
8062116: JVMTI GetClassMethods is Slow
...
Allocate enough space for all jmethodids; make adding a jmethodid O(1)
Reviewed-by: coleenp, rasbold, sspitsyn
2014-11-05 16:47:37 -08:00
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Daniel D. Daugherty
2730e1ad50
Merge
2014-10-31 10:15:29 -07:00
Coleen Phillimore
4c036f5730
8037842: Failing to allocate MethodCounters and MDO causes a serious performance drop
...
Stop allocating compiler profiling metadata when metaspace is full.
Reviewed-by: kvn, anoll
2014-10-30 18:38:42 -04:00