Christian Thalinger
9e056eedc4
8022956: Clang: enable return type warnings on BSD
...
Reviewed-by: coleenp, sla
2013-08-20 10:57:50 -07:00
Omair Majid
6e609cbc64
8022188: Make zero compile after 8016131 and 8016697
...
Reviewed-by: dholmes, twisti
2013-08-06 12:28:46 -04:00
Albert Noll
386e37ba15
8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
...
Introduce a minimum code cache size that guarantees that the VM can startup.
Reviewed-by: kvn, twisti
2013-07-02 07:51:31 +02:00
Goetz Lindenmaier
fad60d1428
8017308: Remove unused breakpoint relocation type
...
Remove unused breakpoint relocation type
Reviewed-by: kvn
2013-06-24 11:53:54 -07:00
Thomas Schatzl
8d53e75550
6843347: Boundary values in some public GC options cause crashes
...
Setting some public integer options to specific values causes crashes or undefined GC behavior. This patchset adds the necessary argument checking for these options.
Reviewed-by: jmasa, brutisso
2013-05-15 11:05:09 +02:00
Jiangli Zhou
fe9809cd8a
Merge
2013-05-09 16:27:51 -04:00
Eric McCorkle
32fa61ad54
8009729: Refix hotspot jni_<cpu>.h JNIEXPORT and JNIIMPORT definitions to match jdk version
...
Update JNIEXPORT and JNIIMPORT to work with other compilers that don't necessarily have the __attribute__ type qualifier
Reviewed-by: dholmes, dcubed, coleenp
2013-05-07 13:45:59 -04:00
Jiangli Zhou
ba80b3e045
8013067: Zero builds are broken after 8010862
...
Fixed broken Zero build.
Reviewed-by: twisti, coleenp, kvn
2013-05-06 19:57:35 -04:00
Goetz Lindenmaier
3f42e9e118
8003853: specify offset of IC load in java_to_interp stub
...
Refactored code to allow platform-specific differences
Reviewed-by: dlong, twisti
2013-04-24 20:55:28 -04:00
Roland Westrelin
05b1c69fc0
8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
...
Deoptimization doesn't set up callee frames so that they restore caller frames correctly.
Reviewed-by: kvn
2013-03-13 09:44:45 +01:00
Bengt Rutisson
20bc6a3d8c
Merge
2013-02-14 11:01:05 +01:00
Jesper Wilhelmsson
2c17d50a8b
8006432: Ratio flags should be unsigned
...
Flags changed to be of uintx type
Reviewed-by: johnc, tamao
2013-02-07 15:51:25 +01:00
Joseph Provino
698fba94ef
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
...
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
Vladimir Kozlov
3eb6582f4b
Merge
2013-01-17 18:47:36 -08:00
Roman Kennke
a0a0d0b65e
8005817: Shark: implement deoptimization support
...
Reviewed-by: twisti
2013-01-11 16:47:23 -08:00
Mikael Vidstedt
e7e6443c6d
8004747: Remove last_entry from VM_STRUCT macros
...
Instead of passing in last_entry to all the VM_ macros just expand it in the main vmStructs.cpp file.
Reviewed-by: dholmes, sspitsyn, minqi
2013-01-10 17:06:26 -08:00
Morris Meyer
113e9ab39d
8004250: replace AbstractAssembler a_byte/a_long with emit_int8/emit_int32
...
Reviewed-by: jrose, kvn, twisti
2012-12-20 18:53:44 -08:00
Bharadwaj Yadavalli
fb74718339
8004548: remove unused AbstractAssembler::print(Label&)
...
Reviewed-by: kvn, twisti
2012-12-17 11:00:22 -08:00
Bharadwaj Yadavalli
04fee0b792
8004668: Build failure for Zero target
...
Fixed build failure for Zero target
Reviewed-by: twisti, kvn
2012-12-07 18:13:23 -08:00
Roland Westrelin
d8921b191a
Merge
2012-12-07 01:09:03 -08:00
Christian Thalinger
34733bb83c
8003250: SPARC: move MacroAssembler into separate file
...
Reviewed-by: jrose, kvn
2012-12-06 09:57:41 -08:00
Stefan Karlsson
57204d9f34
8003935: Simplify the needed includes for using Thread::current()
...
Reviewed-by: dholmes, rbackman, coleenp
2012-11-27 14:20:21 +01:00
Roman Kennke
96562be9e5
8003868: fix shark for latest HotSpot and LLVM
...
Reviewed-by: twisti
2012-11-27 12:48:52 -08:00
Roman Kennke
e184d5cc4e
8000780: make Zero build and run with JDK8
...
Reviewed-by: coleenp, dholmes, twisti
2012-10-29 11:08:48 -07:00
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Tao Mao
447e7065d2
6677625: Move platform specific flags from globals.hpp to globals_<arch>.hpp
...
Reviewed-by: kvn, dholmes, coleenp
2012-08-27 15:17:17 -07:00
Christian Thalinger
12901d0e5b
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07:00
Andrew Dinn
97d244d75a
7167406: (Zero) Fix for InvokeDynamic needed
...
Reviewed-by: chrisphi, dholmes
2012-05-09 00:28:45 -04:00
Bertrand Delsart
070f9108ff
7120468: SPARC/x86: use frame::describe to enhance trace_method_handle
...
Improvements of TraceMethodHandles for JSR292
Reviewed-by: never, twisti
2012-01-26 16:49:22 +01:00
John R Rose
e323998c19
7111138: delete the obsolete flag -XX:+UseRicochetFrames
...
Reviewed-by: dholmes, bdelsart, kvn, twisti
2012-01-19 13:00:11 -08:00
Bertrand Delsart
b11b6e4dda
7120448: Fix FP values for compiled frames in frame::describe
...
Fix for debug method frame::describe
Reviewed-by: never, kvn
2012-01-18 16:18:31 +01:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Tom Rodriguez
1ebca30d26
7088020: SEGV in JNIHandleBlock::release_block
...
Reviewed-by: kvn, twisti
2011-09-10 00:11:04 -07:00
Bertrand Delsart
6141a568aa
7087445: Improve platform independence of JSR292 shared code
...
Changes necessary for some JSR292 ports
Reviewed-by: jrose, dholmes
2011-09-08 10:12:25 +02:00
Chris Phillips
6a54c8a55f
7071823: Zero: zero/shark doesn't build after b147-fcs
...
Reviewed-by: gbenson, twisti
2011-08-08 05:49:04 -07:00
Xerxes Ranby
23b10ec618
7066143: JSR 292: Zero support after regressions from 7009923 and 7009309
...
Reviewed-by: jrose, twisti
2011-07-28 02:14:44 -07:00
Tom Rodriguez
5d2e4e676b
7055355: JSR 292: crash while throwing WrongMethodTypeException
...
Reviewed-by: jrose, twisti, bdelsart
2011-06-16 13:46:55 -07:00
Tom Rodriguez
e5357d4bee
7043461: VM crashes in void LinkResolver::runtime_resolve_virtual_method
...
Reviewed-by: kvn, coleenp
2011-05-12 10:29:02 -07:00
Jon Masamitsu
8328bb291e
Merge
2011-04-20 20:32:45 -07:00
John Cuthbertson
7c844aba67
Merge
2011-04-14 13:45:41 -07:00
Gary Benson
5001776189
7035870: JSR 292: Zero support
...
This adds support for JSR 292 to Zero.
Reviewed-by: twisti
2011-04-12 02:40:23 -07:00
John R Rose
41745904a3
Merge
2011-04-09 21:16:12 -07:00
Jon Masamitsu
b6e631d446
Merge
2011-04-08 14:19:50 -07:00
John Cuthbertson
a08e1ce906
7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
...
A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer.
Reviewed-by: kvn, iveresov, never, tonyp, dholmes
2011-04-07 09:53:20 -07:00
Erik Trimble
c9e484d473
7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Gary Benson
80dfa0e342
7032458: Zero and Shark fixes
...
Reviewed-by: twisti
2011-04-04 03:02:00 -07:00
Tom Rodriguez
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
Vladimir Kozlov
ddd4d3ad73
Merge
2011-02-14 14:36:29 -08:00
Coleen Phillimore
cba53708ec
6588413: Use -fvisibility=hidden for gcc compiles
...
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.
Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00