Goetz Lindenmaier
4aad17f807
8139116: Fixes for warning "format not a string literal"
...
Reviewed-by: ddmitriev, david, simonis
2015-10-09 16:39:37 +02:00
Coleen Phillimore
5179fc3488
8139163: InstanceKlass::cast passes through NULL
...
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null
Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Coleen Phillimore
ed82cd0ee8
Merge
2015-10-23 23:06:53 +02:00
Coleen Phillimore
f1e89ea4cc
8140274: methodHandles and constantPoolHandles should be passed as const references
...
Modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Goetz Lindenmaier
83b3b21342
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
...
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
Joseph Provino
db5f26110b
Merge
2015-10-20 11:17:19 -04:00
Dean Long
344a9becee
Merge
2015-10-17 19:40:30 -04:00
Harold Seigel
df9b5759f7
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
...
If method being parsed is in an interface, throw ClassFormatError if its name is "<init>"
Reviewed-by: acorn, lfoltan
2015-10-14 13:30:47 -04:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Tobias Hartmann
7ca0abe7ee
8139150: ClassVerifier frees exception message while it's still in use
...
Remove ResourceMark in StackMapReader::parse_verification_type() to avoid freeing of error message.
Reviewed-by: zmajo, dcubed, hseigel
2015-10-09 11:28:11 +02:00
Christian Thalinger
16526e000e
8136421: JEP 243: Java-Level JVM Compiler Interface
...
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Harold Seigel
d01e8e3c74
8135265: VM fails on 'empty' interface public <init>()V method with VerifyError
...
Don't check for calls to super() or this() fro <init>()V methods if they are in interfaces. Because, they are not ctors.
Reviewed-by: acorn, gtriantafill
2015-09-22 14:24:31 -04:00
Harold Seigel
1890d7a430
8135208: VM permits illegal <clinit> access_flags, versions 51-52
...
Check access flags for <clinit> methods that are not class init methods.
Reviewed-by: kamg, gtriantafill
2015-09-22 09:48:19 -04:00
Harold Seigel
e7ed6bff90
8132904: Type checking verifier fails to reject assignment from array to an interface
...
Only allow assignment if interface is Cloneable or Serializable.
Reviewed-by: kamg, gtriantafill, jiangli
2015-09-18 07:01:23 -04:00
Jesper Wilhelmsson
1736e104a1
Merge
2015-09-08 16:10:37 +02:00
Nils Eliasson
559bf7ef6e
8135067: Preparatory refactorings for compiler control
...
Extract CompileTask and clean up
Reviewed-by: roland
2015-09-04 12:47:57 +02:00
Ahmed Khawaja
d7b8032741
8132081: C2 support for Adler32 on SPARC
...
Add C2 instrinsic support for Adler32 checksum on SPARC.
Reviewed-by: kvn
2015-09-03 15:03:12 -07:00
Jim Laskey
f763183615
8087181: Move native jimage code to its own library (maybe libjimage)
...
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:12:08 -03:00
Max Ockner
4694fbd776
8098791: Remove PrintClassStatistics and PrintMethodStatistics
...
PrintClassStatistics and PrintMethodStatistics have been removed.
Reviewed-by: coleenp, iklam
2015-08-12 14:18:12 -04:00
Rickard Bäckman
21f9e19316
Merge
2015-08-06 16:28:08 +00:00
Roland Westrelin
02ae6d2a31
Merge
2015-08-04 13:41:09 +02:00
Bengt Rutisson
4673cb217e
8132953: imageDecompressor.hpp should not include precompiled.hpp
...
Reviewed-by: dholmes
2015-08-04 12:58:54 +02:00
Zoltan Majo
26cd440c55
8132457: Unify command-line flags controlling the usage of compiler intrinsics
...
Cleanup processing of command-line flags controlling intrinsics.
Reviewed-by: kvn
2015-08-03 09:39:29 +02:00
Jiangli Zhou
747d91708c
Merge
2015-07-31 16:00:26 -04:00
Jaroslav Bachorik
39aea4789c
Merge
2015-07-31 12:13:57 +02:00
Dmitry Samersoff
3b63ebf830
8059036: Implement Diagnostic Commands for heap and finalizerinfo
...
Implement Diagnostic Commands for heap and finalizerinfo
Reviewed-by: sla, plevart, mchung
2015-07-30 16:26:00 +03:00
Zoltan Majo
422cd18f23
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
...
Add a new method, sun.hotspot.WhiteBox.isIntrinsicAvailable, that can be used to determine if an intrinsic is available.
Reviewed-by: kvn, jrose
2015-07-28 19:20:42 +02:00
Jaroslav Bachorik
cac68725c7
Merge
2015-07-24 20:45:07 +02:00
Coleen Phillimore
d7eb22156b
Merge
2015-07-23 22:31:10 -04:00
Coleen Phillimore
77edd5baad
8087315: SIGBUS error in nsk/jvmti/RedefineClasses/StressRedefine
...
Need to get source_file_name from the_class's constant pool not previous version constant pool
Reviewed-by: dcubed, sspitsyn
2015-07-23 15:18:56 -04:00
Roland Westrelin
51ddedd5c7
Merge
2015-07-23 19:11:28 +02:00
Daniel D. Daugherty
d7f565d9eb
8075171: Contended Locking fast notify bucket
...
JEP-143/JDK-8073165 Contended Locking fast notify bucket
Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn, dice, dcubed
2015-07-21 07:28:37 -07:00
Vladimir Kempik
6ab7533af1
8048353: jstack -l crashes VM when a Java mirror for a primitive type is locked
...
Reviewed-by: coleenp, dcubed
2015-07-20 18:57:07 +03:00
Harold Seigel
9ba9e4aecb
8129895: New verifier fails to reject erroneous cast from int[] to other arrays of small integer types
...
Only allow assignability of arrays of primitive types if the types are identical
Reviewed-by: dholmes, gtriantafill
2015-07-22 08:00:38 -04:00
Daniel D. Daugherty
350d9ece17
Merge
2015-07-17 15:01:09 -07:00
Vladimir Kozlov
1e08e6133d
Merge
2015-07-17 14:51:28 -07:00
Calvin Cheung
84ff1787b7
8079825: Uninitialised variable in hotspot/src/share/vm & cpu/x86/vm (runtime)
...
Initialized local variables in classFileParser.cpp and rframe.cpp
Reviewed-by: dholmes, minqi
2015-07-17 12:07:49 -07:00
Alejandro Murillo
23b050e996
Merge
2015-07-17 08:46:52 -07:00
Zoltan Majo
1a3b0cca61
8131326: Enable CheckIntrinsics in all types of builds
...
Enable CheckIntrinsics flag in all builds; make check for orphan methods available only in debug builds.
Reviewed-by: kvn
2015-07-16 15:02:12 +02:00
Yumin Qi
6384ca7b1f
8025692: Log what methods are touched at run-time
...
Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.
Reviewed-by: acorn, iklam
2015-07-15 12:24:41 -07:00
Jaroslav Bachorik
794f1616f0
Merge
2015-07-10 16:37:41 +02:00
Daniel D. Daugherty
8dbfda6628
Merge
2015-07-09 14:35:13 -07:00
Harold Seigel
9d7677a83f
8130669: VM prohibits <clinit> methods with return values
...
Ignore <clinit> methods with return values instead of throwing ClassFormatError exceptions
Reviewed-by: acorn, iklam
2015-07-09 15:39:05 -04:00
Harold Seigel
00da567d15
8130183: InnerClasses: VM permits wrong inner_class_info_index value of zero
...
Throw ClassFormatError if InnerClasses attribute's inner_class_info_index is 0
Reviewed-by: acorn, lfoltan
2015-07-09 08:36:37 -04:00
Zoltan Majo
9245cdc214
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
...
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.
Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:25:03 +02:00
Andrew Haley
917f70414f
Merge
2015-07-02 11:12:59 +01:00
Andrew Haley
52b991b411
8130150: Implement BigInteger.montgomeryMultiply intrinsic
...
Add montgomeryMultiply intrinsics
Reviewed-by: kvn
2015-06-16 17:31:53 +01:00
James Cheng
e2533553f6
8073583: C2 support for CRC32C on SPARC
...
Reviewed-by: jrose, kvn
2015-06-29 00:10:01 -07:00
Vladimir Kozlov
0b9dfebfa4
Merge
2015-06-25 09:48:50 -07:00