Commit Graph

39 Commits

Author SHA1 Message Date
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
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
5597cd6698 Merge 2016-12-08 15:49:29 +01: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
Yang Zhang
d718f0e61e 8169261: Fix for JDK-8067744 creates build failures with some versions of gcc and/or linux
Reviewed-by: kvn, drwhite
2016-11-14 10:10:10 -08:00
Dmitry Chuyko
e70bbbd57f 8067744: XMM/SSE float register values corrupted by JNI_CreateVM call in JRE 8 (Windows)
Save/restore registers in generate_get_cpu_info() code which checks interrupts.

Reviewed-by: kvn, mcberg
2016-10-28 12:28:46 -07: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
Dmitry Dmitriev
25c6510309 8150758: [TESTBUG] need jvmti tests for module aware agents
Reviewed-by: sspitsyn, dsamersoff
2016-09-21 16:46:13 +03: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
Erik Joelsson
f05597d500 8164297: Jtreg test exeinvoke fails to link on Ubuntu
Reviewed-by: tbell, dholmes
2016-08-19 16:02:21 +02:00
Gerald Thornbrugh
81b9b7b499 8162999: Build give extraneous find warnings
Removed JtregNative.gmk line that was part of a merger error

Reviewed-by: coleenp, fparain
2016-08-04 10:11:35 -07:00
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
Alexander Kulyakhtin
1a81918931 8153978: New test to verify the modules info as returned by the JVMTI
A new JVMTI test

Reviewed-by: ctornqvi, sspitsyn
2016-07-22 16:55:55 +03:00
Gerald Thornbrugh
8f39b65deb 8144278: [TESTBUG] hotspot/runtime/StackGuardPages/testme.sh should use native library build support
Reviewed-by: erikj, dsamersoff, dholmes
2016-07-15 10:46:08 -07:00
Gerald Thornbrugh
2b23013b97 8144279: [TESTBUG] hotspot/runtime/jsig/Test8017498.sh should use native library build support
Reviewed-by: ccheung, cjplummer, dcubed
2016-07-15 10:31:50 -07:00
Gerald Thornbrugh
b571e747c5 8081770: [TESTBUG] regression Test7107135 needs to remove dependence on locally installed gcc
Reviewed-by: cjplummer, dcubed
2016-07-15 10:25:16 -07:00
Rickard Bäckman
3d15529c03 Merge 2016-07-19 13:15:46 +02:00
Stefan Anzinger
b582e23cba 8159368: [JVMCI] SPARCHotSpotRegisterConfig.callingConvention gives incorrect calling convention for native calls containing fp args
Reviewed-by: kvn, iveresov
2016-07-12 20:42:46 +00:00
Igor Ignatyev
a0381422dd 8132919: Put compiler tests in packages
Reviewed-by: vlivanov, dpochepk
2016-07-12 18:24:48 +03:00
Serguei Spitsyn
2cede6dbc1 8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage

Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
2016-07-09 19:20:38 -07:00
Igor Ignatyev
dc12061bb6 8148244: Finalize and integrate GTest implementation
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Stefan Sarne <stefan.sarne@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: jwilhelm, erikj
2016-05-09 14:15:40 +03:00
Ioi Lam
565780b7aa 8155239: [TESTBUG] Simple test setup for JVMTI ClassFileLoadHook
Reviewed-by: cjplummer, mseledtsov
2016-05-03 07:23:23 -07:00
Coleen Phillimore
ea91682fe1 8149170: Better byte behavior should normalize JNI arguments
Arguments coming from native should be converted to 0=false, 1-255=true

Reviewed-by: kvn, kevinw, jrose, bdelsart, gtriantafill
2016-02-09 15:54:16 -05:00
Alan Bateman
f30fc1c88b 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Roland Westrelin
744d73a67f 8148353: [linux-sparc] Crash in libawt.so on Linux SPARC
Gcc expects clean 32 bit int in 64 bit register on function entry

Reviewed-by: kvn, dlong
2016-02-23 17:18:31 +01:00
Dmitrij Pochepko
e699dcb655 8141351: Create tests for direct invoke instructions testing
Tests for invoke* instructions

Reviewed-by: twisti
2015-12-16 18:38:02 +03:00
Goetz Lindenmaier
6f27a97d77 8144466: ppc64: fix argument passing through opto stubs
Reviewed-by: kvn
2015-12-07 15:42:47 +01:00
Stanislav Smirnov
8d94626bb3 8133416: [TESTBUG] Remove @ignore for closed/runtime/4345157/Prog.java
Rewrote test in Java with a number of improvements and conditional exclusion using make file

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-11-20 09:44:16 -05:00
Gerald Thornbrugh
d56280ca10 8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file
Add libadimalloc.so SIGSEGV defines and a test to validate the correct message is printed in the hs_err file

Reviewed-by: dcubed, dholmes
2015-11-18 09:32:52 -08:00
Stanislav Smirnov
0064189ab6 8130255: [TESTBUG] closed/runtime/4784641/CheckedIsSameObjectTest fails when running 32-bit ARM binaries on 64-bit ARM hosts
Rewrote test in Java with a number of changes

Reviewed-by: ctornqvi, gtriantafill, ddmitriev
2015-11-09 15:19:59 +03:00
Andreas Eriksson
f3f4608e09 8072588: JVM crashes in JNI if toString is declared as an interface method
Check for a valid itable index instead of checking if the holder is an interface

Reviewed-by: dsimms, dholmes
2015-06-02 10:41:18 +02:00
Stanislav Smirnov
59c57fb87d 8025979: [TESTBUG] Write test to exercise uninitialized strings from JNI code
Reviewed-by: ctornqvi, dsimms
2015-05-14 10:12:51 -07:00
Stanislav Smirnov
38c5fd780d 8033445: [TESTBUG] Add test case for calling default methods from JNI
Reviewed-by: ctornqvi, dsimms
2015-05-14 10:09:35 -07:00
Magnus Ihse Bursie
0624f19e6e 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:34 +01:00
Christian Thalinger
2f4ecb86a2 8006965: remove test_gamma and add dedicated test_* targets instead
Reviewed-by: kvn, jcoomes
2013-03-20 17:04:45 -07:00
Erik Trimble
ba7c173659 6941466: Oracle rebranding changes for Hotspot repositories
Change all the Sun copyrights to Oracle copyright

Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Xiomara Jayasena
c96a95c4b8 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Keith McGuigan
c8e6b3d60b 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
Moved makefiles out of build and build/closed into make/

Reviewed-by: kvn, ohair
2008-04-09 14:22:48 -04:00