]> source.dussan.org Git - dcevm.git/log
dcevm.git
9 years agoBetter enums support feature/experimental
Ivan Dubrov [Sun, 5 Jul 2015 05:03:13 +0000 (22:03 -0700)]
Better enums support

Let enums to re-initialize so all new literals are instantiated. Since we might
have references to old instances, copy old instances into new enum. Ideally,
we would like to replace old instances with new ones, but we re-initialize enums
only after redefinition is finished and therefore we cannot do the heap update.

Theoretically, we can instantiate new literals before re-initializing enums,
replace old references with new ones and somehow intercept instantiation of
new literals to use the memory we allocated already instead of creating new
ones.

Or maybe just after we re-initialize enums we do byte-by-byte copy from
initialized instances to instances we created during heap inspection.

9 years agoCleaning up constant pool cache clearing code feature/experimental-cpcache
Ivan Dubrov [Wed, 8 Jul 2015 19:57:59 +0000 (12:57 -0700)]
Cleaning up constant pool cache clearing code

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.

9 years agoFixing Mercurial MQ extension check
Ivan Dubrov [Wed, 8 Jul 2015 19:57:14 +0000 (12:57 -0700)]
Fixing Mercurial MQ extension check

9 years agoImproving versions parsing in tests
Ivan Dubrov [Wed, 8 Jul 2015 19:49:17 +0000 (12:49 -0700)]
Improving versions parsing in tests

9 years agoCompile natives with -fPIC
Ivan Dubrov [Wed, 8 Jul 2015 06:06:30 +0000 (23:06 -0700)]
Compile natives with -fPIC

9 years agoVerify Mercurial is installed
Ivan Dubrov [Sun, 5 Jul 2015 23:14:26 +0000 (16:14 -0700)]
Verify Mercurial is installed

Show better error message if Mercurial is not installed or mq extension is not enabled.
Fixes #67

9 years agoMerge pull request #77 from mdaniel/shell-code-markup
Ivan Dubrov [Fri, 3 Jul 2015 19:31:02 +0000 (12:31 -0700)]
Merge pull request #77 from mdaniel/shell-code-markup

Mark up shell commands using shell syntax

9 years agoMerge pull request #76 from mdaniel/fix-mq-url
Ivan Dubrov [Fri, 3 Jul 2015 19:30:47 +0000 (12:30 -0700)]
Merge pull request #76 from mdaniel/fix-mq-url

Fix the MqExtensions URL in the README

9 years agoMark up shell commands using shell syntax 77/head
Matthew Daniel [Fri, 3 Jul 2015 18:33:20 +0000 (11:33 -0700)]
Mark up shell commands using shell syntax

No need to make people copy-and-paste around the bullet-points

9 years agoFix the MqExtensions URL in the README 76/head
Matthew Daniel [Fri, 3 Jul 2015 18:30:49 +0000 (11:30 -0700)]
Fix the MqExtensions URL in the README

9 years agoVerify that JMX attach still works fine
Ivan Dubrov [Fri, 26 Jun 2015 16:07:17 +0000 (09:07 -0700)]
Verify that JMX attach still works fine

9 years agoUpdating bug tracker URL light-jdk8u45+15
Ivan Dubrov [Thu, 25 Jun 2015 01:37:39 +0000 (18:37 -0700)]
Updating bug tracker URL

9 years agoFixing issue with vmindex not being properly updated.
Ivan Dubrov [Thu, 25 Jun 2015 01:17:05 +0000 (18:17 -0700)]
Fixing issue with vmindex not being properly updated.

9 years agoSet root project name explicitly
Ivan Dubrov [Wed, 24 Jun 2015 19:16:21 +0000 (12:16 -0700)]
Set root project name explicitly

9 years agoExport added JNI function light-jdk8u45+13
Ivan Dubrov [Thu, 18 Jun 2015 23:40:14 +0000 (16:40 -0700)]
Export added JNI function

9 years agoStub JVM_SetVmMemoryPressure function in jvm.cpp
Ivan Dubrov [Thu, 18 Jun 2015 22:37:39 +0000 (15:37 -0700)]
Stub JVM_SetVmMemoryPressure function in jvm.cpp

9 years agoAdding test to verify JMX could be loaded
Ivan Dubrov [Thu, 18 Jun 2015 22:00:29 +0000 (15:00 -0700)]
Adding test to verify JMX could be loaded

9 years agoReverting series file
Ivan Dubrov [Fri, 12 Jun 2015 16:58:36 +0000 (09:58 -0700)]
Reverting series file

9 years agoMerge pull request #71 from skybber/master
Ivan Dubrov [Sun, 7 Jun 2015 15:08:59 +0000 (08:08 -0700)]
Merge pull request #71 from skybber/master

full/light jdk7u79-b02 support

9 years agofull/light jdk7u79-b02 support 71/head
skybber [Sun, 7 Jun 2015 08:23:14 +0000 (10:23 +0200)]
full/light jdk7u79-b02 support

9 years agoReverting tag for 8u45
Ivan Dubrov [Thu, 4 Jun 2015 15:07:24 +0000 (08:07 -0700)]
Reverting tag for 8u45

9 years agoFixing series file light-jdk8u45+4
Ivan Dubrov [Wed, 3 Jun 2015 19:41:52 +0000 (12:41 -0700)]
Fixing series file

9 years agoFixing jdk tag
Ivan Dubrov [Wed, 3 Jun 2015 18:57:54 +0000 (11:57 -0700)]
Fixing jdk tag

9 years agoAvoiding Turkish i/I issue with toLowerCase(), using ENGLISH locale
Ivan Dubrov [Tue, 28 Apr 2015 23:20:01 +0000 (16:20 -0700)]
Avoiding Turkish i/I issue with toLowerCase(), using ENGLISH locale

9 years agoAllow changing installer JAR name light-jdk8u45+3
Ivan Dubrov [Tue, 28 Apr 2015 23:05:58 +0000 (16:05 -0700)]
Allow changing installer JAR name

9 years agoUpdating for Java 8u40
Ivan Dubrov [Tue, 28 Apr 2015 21:37:39 +0000 (14:37 -0700)]
Updating for Java 8u40

9 years agoOnly select GC if not selected by AllowEnhancedClassRedefinition
Ivan Dubrov [Mon, 6 Apr 2015 17:59:47 +0000 (10:59 -0700)]
Only select GC if not selected by AllowEnhancedClassRedefinition

9 years agoFixing patches for 8u40
Ivan Dubrov [Wed, 1 Apr 2015 21:45:10 +0000 (14:45 -0700)]
Fixing patches for 8u40

9 years agoUpdate README.md
Ivan Dubrov [Wed, 1 Apr 2015 18:29:53 +0000 (11:29 -0700)]
Update README.md

9 years agojdk8u40-b25 updates
Ivan Dubrov [Wed, 1 Apr 2015 01:14:18 +0000 (18:14 -0700)]
jdk8u40-b25 updates

9 years agoUpdate README.md
Ivan Dubrov [Wed, 1 Apr 2015 01:16:33 +0000 (18:16 -0700)]
Update README.md

9 years agoMerge pull request #62 from skybber/master
Ivan Dubrov [Sat, 14 Mar 2015 15:41:01 +0000 (08:41 -0700)]
Merge pull request #62 from skybber/master

TRACE gcc compilation problem resolved

9 years agoTRACE gcc compiling problem resolved 62/head
skybber [Sat, 14 Mar 2015 12:47:18 +0000 (13:47 +0100)]
TRACE gcc compiling problem resolved

9 years agoMerge pull request #58 from skybber/master
Ivan Dubrov [Tue, 17 Feb 2015 21:04:54 +0000 (13:04 -0800)]
Merge pull request #58 from skybber/master

jdk8u31-b13 updates

9 years agojdk8u31-b13 updates 58/head
skybber [Tue, 17 Feb 2015 21:01:26 +0000 (22:01 +0100)]
jdk8u31-b13 updates

10 years agoMerge pull request #53 from skybber/master
Ivan Dubrov [Wed, 26 Nov 2014 16:20:21 +0000 (08:20 -0800)]
Merge pull request #53 from skybber/master

full-jdk7u71-b01 added to series file

10 years agofull-jdk7u71-b01 added to series file 53/head
Vladimir Dvorak [Wed, 26 Nov 2014 10:29:21 +0000 (11:29 +0100)]
full-jdk7u71-b01 added to series file

10 years agoMerge pull request #51 from skybber/master
Ivan Dubrov [Mon, 17 Nov 2014 15:48:44 +0000 (07:48 -0800)]
Merge pull request #51 from skybber/master

full-jdk7u71-b01.patch

10 years agofull-jdk7u71-b01.patch 51/head
skybber [Mon, 17 Nov 2014 12:35:10 +0000 (13:35 +0100)]
full-jdk7u71-b01.patch

10 years agoWorking on Java 7u71 support light-jdk7u71+2
Ivan Dubrov [Fri, 17 Oct 2014 17:50:17 +0000 (10:50 -0700)]
Working on Java 7u71 support

10 years agoMerge pull request #44 from skybber/master
Ivan Dubrov [Tue, 2 Sep 2014 17:59:30 +0000 (10:59 -0700)]
Merge pull request #44 from skybber/master

light-jdk8u20 patch + deopt patch

10 years agoUpdate README.md 44/head
skybber [Tue, 2 Sep 2014 17:32:00 +0000 (19:32 +0200)]
Update README.md

10 years agolight-jdk8u20 patch + deopt patch
Vladimír Dvo?ák [Tue, 2 Sep 2014 17:26:50 +0000 (19:26 +0200)]
light-jdk8u20 patch + deopt patch

10 years agoMerge pull request #41 from skybber/master
Ivan Dubrov [Tue, 19 Aug 2014 22:26:35 +0000 (15:26 -0700)]
Merge pull request #41 from skybber/master

full-jdk760-b09 patch

10 years agofull-jdk760-b09 patch 41/head
Vladimír Dvo?ák [Tue, 19 Aug 2014 21:15:27 +0000 (23:15 +0200)]
full-jdk760-b09 patch

10 years agoMerge pull request #37 from skybber/master
Ivan Dubrov [Mon, 7 Jul 2014 14:54:52 +0000 (07:54 -0700)]
Merge pull request #37 from skybber/master

light-jdk7u60 deopt-cp patch

10 years agolight-jdk7u60 deopt-cp patch 37/head
Vladimír Dvo?ák [Mon, 7 Jul 2014 06:37:26 +0000 (08:37 +0200)]
light-jdk7u60 deopt-cp patch

10 years agoCreating patch for Java 7u60
Ivan Dubrov [Wed, 2 Jul 2014 20:19:14 +0000 (13:19 -0700)]
Creating patch for Java 7u60

Took 7u51 patch, applied, resolved conflicts.
jvmtiRedefineClasses.(c|h)pp were copied from a 7u51 working tree with patch
applied (generally, jvmtiRedefineClasses shouldn't be merged since they are
mostly rewritten).

10 years agoMerge pull request #36 from skybber/master
Ivan Dubrov [Wed, 2 Jul 2014 20:58:05 +0000 (13:58 -0700)]
Merge pull request #36 from skybber/master

light-jdk7u51 deopt-cp patch. Indentation fix.

10 years agolight-jdk7u51 deopt-cp patch. Indentation fix. 36/head
Vladimír Dvo?ák [Wed, 2 Jul 2014 20:33:18 +0000 (22:33 +0200)]
light-jdk7u51 deopt-cp patch. Indentation fix.

10 years agoMerge pull request #35 from skybber/master
Ivan Dubrov [Fri, 27 Jun 2014 22:35:21 +0000 (15:35 -0700)]
Merge pull request #35 from skybber/master

deopt-incl flag propagated only if in superclass is set to true

10 years agodeopt-incl flag propagated only if in superclass is set to true 35/head
Vladimír Dvo?ák [Fri, 27 Jun 2014 22:17:18 +0000 (00:17 +0200)]
deopt-incl flag propagated only if in superclass is set to true

10 years agoMerge pull request #34 from skybber/master
Ivan Dubrov [Thu, 26 Jun 2014 17:35:27 +0000 (10:35 -0700)]
Merge pull request #34 from skybber/master

Set nmethod's deoptimization_incl flag from owner klass

10 years agoSet nmethod's deoptimization_incl flag from owner klass 34/head
Vladimír Dvo?ák [Thu, 26 Jun 2014 17:13:43 +0000 (19:13 +0200)]
Set nmethod's deoptimization_incl flag from owner klass

10 years agoMerge pull request #33 from skybber/master
Ivan Dubrov [Tue, 24 Jun 2014 20:03:40 +0000 (13:03 -0700)]
Merge pull request #33 from skybber/master

Force set deoptimization_incl flag for all hotswapped classes

10 years agoForce set deoptimization_incl flag for all hotswapped classes 33/head
Vladimír Dvo?ák [Tue, 24 Jun 2014 17:35:33 +0000 (19:35 +0200)]
Force set deoptimization_incl flag for all hotswapped classes

10 years agoMerge pull request #31 from skybber/master
Ivan Dubrov [Fri, 6 Jun 2014 21:08:45 +0000 (14:08 -0700)]
Merge pull request #31 from skybber/master

Option -XX:HotswapDeoptClassPath in jdk7u51, indentation fixed

10 years agoOption -XX:HotswapDeoptClassPath in jdk7u51, indentation fixed 31/head
Vladimír Dvo?ák [Fri, 6 Jun 2014 19:36:20 +0000 (21:36 +0200)]
Option -XX:HotswapDeoptClassPath in jdk7u51, indentation fixed

10 years agoMerge pull request #30 from skybber/master
Ivan Dubrov [Wed, 4 Jun 2014 22:02:31 +0000 (15:02 -0700)]
Merge pull request #30 from skybber/master

JVM flag -XX:HotswapDeoptClassPath=<class_path> support added

10 years agoJVM flag -XX:HotswapDeoptClassPath=<class_path> support added 30/head
Vladimír Dvo?ák [Wed, 4 Jun 2014 21:22:09 +0000 (23:22 +0200)]
JVM flag -XX:HotswapDeoptClassPath=<class_path> support added

10 years agoMerge pull request #25 from HotswapProjects/master
Ivan Dubrov [Fri, 23 May 2014 16:02:05 +0000 (09:02 -0700)]
Merge pull request #25 from HotswapProjects/master

#22 - Installer should not override default JVM

10 years ago#22 - Installer now support both - replace current JVM or install as altjvm into... 25/head
Jiří Bubník [Fri, 23 May 2014 13:07:39 +0000 (15:07 +0200)]
#22 - Installer now support both - replace current JVM or install as altjvm into dcevm directory.

10 years agoAdding support for Java 7 update 55
Ivan Dubrov [Fri, 9 May 2014 16:30:47 +0000 (09:30 -0700)]
Adding support for Java 7 update 55

Actually, update 51 patch applies to 55 with no test failures.

10 years agoMerge pull request #24 from ebourg/master
Ivan Dubrov [Fri, 9 May 2014 15:54:03 +0000 (08:54 -0700)]
Merge pull request #24 from ebourg/master

Fixed a typo (Transfered -> Transferred)

10 years agoFixed a typo (Transfered -> Transferred) 24/head
Emmanuel Bourg [Fri, 9 May 2014 15:42:50 +0000 (17:42 +0200)]
Fixed a typo (Transfered -> Transferred)

10 years agoMoving two tests which are currently supported only on Java 8 light-jdk7u51+10
Ivan Dubrov [Mon, 5 May 2014 21:33:41 +0000 (14:33 -0700)]
Moving two tests which are currently supported only on Java 8

10 years agoExtracting changes to javaClasses.cpp
Ivan Dubrov [Mon, 5 May 2014 21:22:44 +0000 (14:22 -0700)]
Extracting changes to javaClasses.cpp

Separating changes for $StaticAccessor/$Accessor into separate patch.

10 years agoRemoving unused methods from the patch
Ivan Dubrov [Mon, 5 May 2014 20:02:24 +0000 (13:02 -0700)]
Removing unused methods from the patch

10 years agoHandle removed/changed fields in DMH
Ivan Dubrov [Mon, 5 May 2014 19:47:54 +0000 (12:47 -0700)]
Handle removed/changed fields in DMH

In case matching field is not found, clear (set to null) references to faulty DMH.
Long term, should replace such DMH's with instances that will throw more meaningful
error messages at runtime.

10 years agoTry to used serializable lambdas to force compiler to generate stable names
Ivan Dubrov [Fri, 2 May 2014 15:05:22 +0000 (08:05 -0700)]
Try to used serializable lambdas to force compiler to generate stable names

10 years agoDisable lambda's test for now
Ivan Dubrov [Fri, 2 May 2014 14:37:48 +0000 (07:37 -0700)]
Disable lambda's test for now

10 years agoUpdate host klass to newest version
Ivan Dubrov [Fri, 2 May 2014 05:53:33 +0000 (22:53 -0700)]
Update host klass to newest version

10 years agoAllow classes to reside outside of test class.
Ivan Dubrov [Fri, 2 May 2014 05:39:50 +0000 (22:39 -0700)]
Allow classes to reside outside of test class.

Adding support for extra classes being redefined to the test framework.
Rewriting lambda test a little, extracting classes with lambda's to top
level.

10 years agoShould allocate idnum from new class, not the old one
Ivan Dubrov [Fri, 2 May 2014 04:55:40 +0000 (21:55 -0700)]
Should allocate idnum from new class, not the old one

10 years agoWorking on lambda tests
Ivan Dubrov [Fri, 2 May 2014 04:55:20 +0000 (21:55 -0700)]
Working on lambda tests

10 years agoFixing MH's in case of instance fields swapping
Ivan Dubrov [Fri, 2 May 2014 02:10:33 +0000 (19:10 -0700)]
Fixing MH's in case of instance fields swapping

Same fix as for static fields, update offset directly
in the DirectMethodHandle$Accessor.

10 years agominor rewording
Ivan Dubrov [Fri, 2 May 2014 01:38:48 +0000 (18:38 -0700)]
minor rewording

10 years agoBe careful when clearing cp cache entries light-jdk8u5+52
Ivan Dubrov [Fri, 2 May 2014 00:54:08 +0000 (17:54 -0700)]
Be careful when clearing cp cache entries

Do not clear f2 in cp cache entry when entry is not initialized yet.
It might be related to invokehandle/invokedynamic, in which case if
we clear f2 it won't be reinitialized.

10 years agoA little bit of logging
Ivan Dubrov [Fri, 2 May 2014 00:14:00 +0000 (17:14 -0700)]
A little bit of logging

10 years agoWorking on static field DMH's fixes
Ivan Dubrov [Thu, 1 May 2014 22:14:59 +0000 (15:14 -0700)]
Working on static field DMH's fixes

10 years agoDo not re-initialize secondary entries
Ivan Dubrov [Thu, 1 May 2014 17:23:39 +0000 (10:23 -0700)]
Do not re-initialize secondary entries

10 years agoUpdating MethodHandles in Java 7 update 51 patch
Ivan Dubrov [Thu, 1 May 2014 17:13:38 +0000 (10:13 -0700)]
Updating MethodHandles in Java 7 update 51 patch

10 years agohg qrefresh on patches
Ivan Dubrov [Thu, 1 May 2014 17:13:07 +0000 (10:13 -0700)]
hg qrefresh on patches

10 years agoAdding hotspot.log to ignores
Ivan Dubrov [Thu, 1 May 2014 17:06:02 +0000 (10:06 -0700)]
Adding hotspot.log to ignores

10 years agoAdding guard on patch
Ivan Dubrov [Thu, 1 May 2014 05:13:22 +0000 (22:13 -0700)]
Adding guard on patch

10 years agoFixing interface methods test light-jdk8u5+50
Ivan Dubrov [Wed, 30 Apr 2014 23:52:39 +0000 (16:52 -0700)]
Fixing interface methods test

10 years agoWalk classes through ClassLoaderDataGraph
Ivan Dubrov [Wed, 30 Apr 2014 23:40:44 +0000 (16:40 -0700)]
Walk classes through ClassLoaderDataGraph

SystemDictionary doesn't contain anonymous classes.

10 years agoImplementing tests for interface methods and lambdas
Ivan Dubrov [Wed, 30 Apr 2014 23:39:50 +0000 (16:39 -0700)]
Implementing tests for interface methods and lambdas

10 years agoUnused line deleted
Ivan Dubrov [Wed, 30 Apr 2014 23:23:02 +0000 (16:23 -0700)]
Unused line deleted

10 years agoUpdating ASM version
Ivan Dubrov [Wed, 30 Apr 2014 23:20:58 +0000 (16:20 -0700)]
Updating ASM version

10 years agopull should depend on init, clean should check hotspot/make
Ivan Dubrov [Wed, 30 Apr 2014 21:58:07 +0000 (14:58 -0700)]
pull should depend on init, clean should check hotspot/make

10 years agoMigrating to Mercurial MQ
Ivan Dubrov [Wed, 30 Apr 2014 21:49:27 +0000 (14:49 -0700)]
Migrating to Mercurial MQ

10 years agoStarted moving patches into Mercurial mq
Ivan Dubrov [Wed, 30 Apr 2014 20:26:58 +0000 (13:26 -0700)]
Started moving patches into Mercurial mq

Starting using Mercurial MQ for managing DCEVM patches.

10 years agoFixing Java 8 MethodHandle's
Ivan Dubrov [Wed, 30 Apr 2014 18:27:47 +0000 (11:27 -0700)]
Fixing Java 8 MethodHandle's

10 years agoUpdating MethodHandle test
Ivan Dubrov [Wed, 30 Apr 2014 18:27:13 +0000 (11:27 -0700)]
Updating MethodHandle test

10 years agoRelaxing assertion, in case of DCEVM we may rewrite resolved reference
Ivan Dubrov [Wed, 30 Apr 2014 00:14:33 +0000 (17:14 -0700)]
Relaxing assertion, in case of DCEVM we may rewrite resolved reference

10 years agoWorking on MethodHandle tests
Ivan Dubrov [Wed, 30 Apr 2014 00:13:40 +0000 (17:13 -0700)]
Working on MethodHandle tests

10 years agoClear most of the flags in the CP cache entry
Ivan Dubrov [Tue, 29 Apr 2014 20:58:51 +0000 (13:58 -0700)]
Clear most of the flags in the CP cache entry

10 years agoUpdate README.md
Ivan Dubrov [Mon, 28 Apr 2014 23:43:55 +0000 (16:43 -0700)]
Update README.md

10 years agoUpdate README.md
Ivan Dubrov [Mon, 28 Apr 2014 22:52:18 +0000 (15:52 -0700)]
Update README.md