aboutsummaryrefslogtreecommitdiffstats
path: root/hotspot/.hg/patches/series
diff options
context:
space:
mode:
authorIvan Dubrov <idubrov@guidewire.com>2015-07-08 12:57:59 -0700
committerIvan Dubrov <idubrov@guidewire.com>2015-07-08 13:59:11 -0700
commit4d67683d0d7a5af417efa8f0d4da7d4b34d61863 (patch)
treeac8726dbbce5826fcc11dd39e4d30828e3cf23cf /hotspot/.hg/patches/series
parentb217430b13678ea14db7b37aea4fc8e77b7518d9 (diff)
downloaddcevm-4d67683d0d7a5af417efa8f0d4da7d4b34d61863.tar.gz
dcevm-4d67683d0d7a5af417efa8f0d4da7d4b34d61863.zip
Cleaning up constant pool cache clearing codefeature/experimental-cpcache
Clear constant pool cache entries which are related to invokehandle/invokedynamic and ones which are unresolved (have both bytecodes set to 0). There are two cases when such entries could be non-empty (have data in f1/f2): 1. invokedynamic/invokehandle-related entries in which f2 was set during constant pool cache initialization. 2. put/get into static field when class having the field is not initialized yet. Previously, we didn't clear such entries as clearing f2 in first case results in crash. However, if we don't clear f1 in the second case, we will not be able to initialize class for the second time (to re-create all enum constants, for example) as non-empty f2 will cause assertion to fail. The current implementation uses free bit in constant pool cache entry to mark all entries with resolved indices (case #1). The clearing code preserves f2 for all such entries.
Diffstat (limited to 'hotspot/.hg/patches/series')
-rw-r--r--hotspot/.hg/patches/series6
1 files changed, 3 insertions, 3 deletions
diff --git a/hotspot/.hg/patches/series b/hotspot/.hg/patches/series
index e490aa43..c15467c0 100644
--- a/hotspot/.hg/patches/series
+++ b/hotspot/.hg/patches/series
@@ -14,6 +14,9 @@ gc-java8u40.patch #+light-jdk8u40-b25 #+light-jdk8u45-b14
dmh-field-accessors-java8.patch #+light-jdk8u5-b13 #+light-jdk8u20-b22 #+light-jdk8u31-b13
dmh-field-accessors-java8u40.patch #+light-jdk8u40-b25 #+light-jdk8u45-b14
+# Stub JVM_SetVmMemoryPressure function
+JVM_SetVmMemoryPressure.patch #+light-jdk8u45-b14
+
# Rest of the changes
full-jdk7u11-b21.patch #+full-jdk7u11-b21
@@ -35,13 +38,10 @@ full-jdk7u71-b01.patch #+full-jdk7u71-b01
full-jdk7u79-b02.patch #+full-jdk7u79-b02
full-jdk7u60-deopt-cp.patch #+full-jdk7u60-b09 #+full-jdk7u71-b01 #+full-jdk7u79-b02
-
light-jdk8u5-b13.patch #+light-jdk8u5-b13
light-jdk8u20-b22.patch #+light-jdk8u20-b22 #+light-jdk8u31-b13
light-jdk8u40-b25.patch #+light-jdk8u40-b25 #+light-jdk8u45-b14
light-jdk8u20-deopt-cp.patch #+light-jdk8u20-b22 #+light-jdk8u31-b13 #+light-jdk8u40-b25 #+light-jdk8u45-b14
-# Stub JVM_SetVmMemoryPressure function
-JVM_SetVmMemoryPressure.patch #+light-jdk8u45-b14