diff options
author | Vladimír Dvo?ák <lada.dvorak7@gmail.com> | 2014-06-24 19:35:33 +0200 |
---|---|---|
committer | Vladimír Dvo?ák <lada.dvorak7@gmail.com> | 2014-06-24 19:35:33 +0200 |
commit | f33c61a24ab8a3ea954e540669b93edb91de7bc4 (patch) | |
tree | 0dfb78bd6c0d78e5ebff8500aa4de4c77138606f /hotspot/.hg/patches/full-jdk7u45-deopt-cp.patch | |
parent | 8c80de875e1e57224381148ebd292767eee6e1f3 (diff) | |
download | dcevm-f33c61a24ab8a3ea954e540669b93edb91de7bc4.tar.gz dcevm-f33c61a24ab8a3ea954e540669b93edb91de7bc4.zip |
Force set deoptimization_incl flag for all hotswapped classes
Diffstat (limited to 'hotspot/.hg/patches/full-jdk7u45-deopt-cp.patch')
-rw-r--r-- | hotspot/.hg/patches/full-jdk7u45-deopt-cp.patch | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/hotspot/.hg/patches/full-jdk7u45-deopt-cp.patch b/hotspot/.hg/patches/full-jdk7u45-deopt-cp.patch index 50b19993..ca618235 100644 --- a/hotspot/.hg/patches/full-jdk7u45-deopt-cp.patch +++ b/hotspot/.hg/patches/full-jdk7u45-deopt-cp.patch @@ -169,10 +169,19 @@ index d086b5d..0719b90 100644 jint revision_number() const { return _revision_number; diff --git a/src/share/vm/prims/jvmtiRedefineClasses.cpp b/src/share/vm/prims/jvmtiRedefineClasses.cpp -index ef4f380..d134534 100644 +index ef4f380..5d2382c 100644 --- a/src/share/vm/prims/jvmtiRedefineClasses.cpp +++ b/src/share/vm/prims/jvmtiRedefineClasses.cpp -@@ -2580,7 +2580,8 @@ +@@ -435,6 +435,8 @@ + + new_class->set_redefinition_flags(redefinition_flags); + ++ new_class->set_deoptimization_incl(true); ++ + _max_redefinition_flags = _max_redefinition_flags | redefinition_flags; + + if ((redefinition_flags & Klass::ModifyInstances) != 0) { +@@ -2580,7 +2582,8 @@ }*/ Klass *k = k_oop->klass_part(); @@ -182,7 +191,7 @@ index ef4f380..d134534 100644 HandleMark hm(THREAD); instanceKlass *ik = (instanceKlass *) k; -@@ -2683,7 +2684,11 @@ +@@ -2683,7 +2686,11 @@ if (0 && JvmtiExport::all_dependencies_are_recorded()) { Universe::flush_evol_dependents_on(k_h); } else { |