1098 Commits

Author SHA1 Message Date
Coleen Phillimore
1457155505 8168699: Validate special case invocations
Reviewed-by: acorn, kvn, lfoltan, ctornqvi, ahgross, vlivanov
2016-12-01 14:21:31 -05: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
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
Jesper Wilhelmsson
99e20e2480 Merge 2017-02-24 12:01:33 +01: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
Daniel D. Daugherty
298e3a2dcc 8175086: [BACKOUT] fix for JDK-8166188
Reviewed-by: kbarrett, jwilhelm, dcubed
2017-02-16 10:41:19 -08:00
Kim Barrett
28477cf493 8166188: G1 Needs pre barrier on dereference of weak JNI handles
Add low tag to jweaks and G1 barrier for jweak loads.

Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Co-authored-by: Volker Simonis <volker.simonis@sap.com>
Reviewed-by: mgerdin, mdoerr, pliden, dlong, dcubed, coleenp, aph, tschatzl
2017-02-15 22:19:13 -05:00
Jesper Wilhelmsson
be20d6384d Merge 2017-02-14 01:32:38 +01:00
Serguei Spitsyn
8efb2f4342 8172969: JVMTI spec: GetCurrentThread may return NULL in the early start phase
Update the GetCurrentThread function spec to allow returning NULL

Reviewed-by: dholmes, dcubed, alanb
2017-02-13 14:39:50 -08:00
Sangheon Kim
7b93ee904b 8173013: JVMTI tagged object access needs G1 pre-barrier
Add missing G1 pre-barrier at TagObjectCollector::do_entry

Reviewed-by: kbarrett, tschatzl
2017-02-09 19:08:32 -08:00
Jesper Wilhelmsson
4519090804 Merge 2017-02-09 23:35:22 +01:00
Alan Bateman
9db79d57c8 8173393: Module system implementation refresh (2/2017)
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, mchung
2017-02-10 09:03:55 +00:00
Daniel D. Daugherty
2132715a30 8173693: disable post_class_unload() for non JavaThread initiators
Reviewed-by: sspitsyn, gthornbr
2017-01-31 14:33:36 -08:00
Brent Christian
c38ccc4fb0 8156073: 2-slot LiveStackFrame locals (long and double) are incorrect
Reviewed-by: coleenp, mchung
2017-01-31 11:50:42 -08:00
Jamsheed Mohammed C M
165af4bdae 8173037: V [jvm.dll+0x2343fc] GraphBuilder::args_list_for_profiling+0x8c
Disabled WB Compilaton at unsupported levels.

Reviewed-by: kvn
2017-01-22 22:18:49 -08:00
Claes Redestad
984dc33474 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:49:30 +01:00
David Holmes
417f6a4ac8 8172261: [JVMTI] Specification for early VM start event needs to lower expectations in relation class loading
Reviewed-by: dcubed, sspitsyn, alanb
2017-01-18 19:54:18 -05:00
Jamsheed Mohammed C M
197ce5bafa 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:38:07 -08:00
Arno Zeller
43b7b1bd77 8171924: Use SIZE_FORMAT to print size_t values
Reviewed-by: dholmes, tschatzl, coleenp, goetz
2016-12-22 16:51:25 +01:00
Jesper Wilhelmsson
3bfd349b45 Merge 2016-12-20 22:53:45 +01:00
Dmitry Samersoff
c105d10fb0 8165496: assert(_exception_caught == false) failed: _exception_caught is out of phase
Two separate flags, exception_detected and exception_caught, replaced with one.

Reviewed-by: sspitsyn, coleenp, dholmes
2016-12-20 15:40:01 +03:00
Bob Vandette
6009cf0793 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
2016-12-19 12:39:01 -05:00
Jesper Wilhelmsson
a6fc4ec215 Merge 2016-12-18 15:37:50 +01:00
Serguei Spitsyn
9f7f109492 8171226: simple typo in the JVMTI spec
Replace "bot" with "not"

Reviewed-by: alanb
2016-12-14 02:35:33 -08:00
Bharadwaj Yadavalli
2841c5eb2b 8171008: Integrate AOT compiler into JDK
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Jesper Wilhelmsson
65ae405a5b Merge 2016-12-08 17:03:45 +01:00
Serguei Spitsyn
88e7d65782 7034834: JVMTI xml file referring to old JDK version
Update the JVMTI spec with the version auto-change

Reviewed-by: coleenp, dholmes, dsamersoff, dcubed
2016-12-07 15:10:18 -08:00
Alan Bateman
988690303a 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
2016-12-01 08:56:41 +00:00
Jesper Wilhelmsson
106e220ae2 Merge 2016-11-11 16:44:36 +01:00
Mandy Chung
150d28bb0e 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:02 -07:00
Jesper Wilhelmsson
bc72fc2242 Merge 2016-11-11 16:44:36 +01:00
Alejandro Murillo
af03100a51 Merge 2016-10-20 16:53:56 -07:00
Tobias Hartmann
ed9adcbdfa 8164612: NoSuchMethodException when method name contains NULL or Latin-1 supplement character
String length needs to be updated when converting from unicode to utf8.

Reviewed-by: kvn, coleenp
2016-10-26 14:36:05 +02:00
Coleen Phillimore
c6d2422f35 8159515: Improve indy validation
Reviewed-by: jrose, hseigel, vlivanov, bmoloden, ctornqvi, mschoene
2016-06-29 11:52:27 -04:00
David Holmes
d1856645bc 8081800: AbstractMethodError when evaluating a private method in an interface via debugger
Reviewed-by: acorn, dcubed, coleenp
2016-10-03 21:48:21 -04:00
Rachel Protacio
876f72beaf 8160064: StackWalker implementation added logging option without using UL
Moved StackWalk logging to Unified Logging framework

Reviewed-by: coleenp, mockner, dholmes, mchung
2016-09-29 13:32:17 -04:00
Brent Christian
362c2a8f6d 8166501: compilation error in stackwalk.cpp on some gccs
Reviewed-by: coleenp
2016-09-22 10:24:25 -07:00
Chris Plummer
dcde22fc99 8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
Made the assert less restrictive.

Reviewed-by: dholmes, dcubed, sspitsyn
2016-09-21 12:53:16 -07:00
Serguei Spitsyn
b1e537250c Merge 2016-09-21 08:38:21 +00:00
Serguei Spitsyn
70c7173745 8147943: jvmti.h generated with GPL header
Generate the jvmti.h with the GPL+CP header

Reviewed-by: dcubed, alanb
2016-09-21 01:33:21 -07:00
Brent Christian
453166437e 8165372: StackWalker performance regression following JDK-8147039
Stack walking can use javaVFrame or vframeStream

Reviewed-by: coleenp, mchung
2016-09-20 10:04:55 -07:00
Serguei Spitsyn
c702b1312c 8165681: ClassLoad and ClassPrepare JVMTI events are missed in the start phase
Add the events bits to the early events bits

Reviewed-by: dholmes, dsamersoff
2016-09-13 13:10:42 -07:00
Dean Long
45204fc0bf Merge 2016-09-08 23:43:45 -04:00
Martin Doerr
38eb4a4f6f 8165489: Missing G1 barrier in Unsafe_GetObjectVolatile
Add missing barrier, sharing code with Unsafe_GetObject.

Reviewed-by: kbarrett, mgerdin, pliden
2016-09-06 13:01:27 +02:00
Mandy Chung
5460376f61 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:20 -07:00
Serguei Spitsyn
fadbcc36d7 Merge 2016-09-13 20:17:46 +00:00
David Simms
1c2da5f5ed 8164086: Checked JNI pending exception check should be cleared when returning to Java frame
Transitions to Java clear the pending pointer

Reviewed-by: dholmes, neliasso, coleenp
2016-09-13 09:04:44 +02:00
Christian Tornqvist
22d512c0ed 8165881: Backout JDK-8164913
Reviewed-by: hseigel
2016-09-12 13:16:39 -04:00
Serguei Spitsyn
98babf0899 Merge 2016-09-09 06:44:31 +00:00
Yasumasa Suenaga
7a341735fe 8164913: JVMTI.agent_load dcmd should show useful error message
Show useful error message

Reviewed-by: dholmes, dsamersoff, sspitsyn
2016-09-08 23:38:56 -07:00