Questions tagged [hotswap]

"Hotswap" or "Hotswapping" refers to dynamically replacing a class implementation during the runtime of an application.

246 questions
0
votes
2 answers

python code swapping in two instance of the same program

Is it possible to copy all the memory objects in your current python program, by doing a deep copy of all memory objects. Next, start another instance of the same python program, and move those copied objects to the second running instance.
0
votes
1 answer

intelij spring boot hot swap causes context reload

I am using Intellij 2017.2 with Spring Boot 1.5.4 When I recompile my current class with ctr+shift+F9, instead of the IDE doing a bytecode hotswap, the spring container gets reloaded. On top of that, after the reload my RestConroller no longer…
sashok_bg
  • 2,436
  • 1
  • 22
  • 33
0
votes
1 answer

springloaded- reloading of classes not happening

I was going through spring documentation for reloading classes without restarting containers, but when I am trying to do the same by adding springloaded dependency reloading isn't happening, am I missing something?
Vikrant Chaudhary
  • 629
  • 1
  • 7
  • 12
0
votes
0 answers

Tomcat Class Reloading & Hybris

In a Hybris developement environement, we are looking for reducing the Hybris server (Tomcat) restarts after each classes modification, Beside the known tools available (JRebel, HotswapAgent,...), we are trying to use the tomcat server's default…
0
votes
1 answer

Android Studio Apply Changes non-static method cannot be referenced, but method is static

I have a problem compiling my android app in Android Studio. I get an error like this: Error:(51, 48) error: non-static method buildUsernameUrlString(String) cannot be referenced from a static context Also this one: Error:(63, 38) error: OAUTH_URL…
gempir
  • 1,791
  • 4
  • 22
  • 46
0
votes
0 answers

Spring Boot 1.5.6 auto reload not working

I am working with Spring Boot application. I want to auto reload feature of spring boot so I can get java code change effect on my application but it's not working for me. Below are the details of my application: Spring Boot Version:…
0
votes
1 answer

Error while installing Dynamic Code Evolution VM (DCE) with Java 8

I am running Ubuntu 17.04 (64-bit) with Java 8. I am facing following error while installing Dynamic Code Evolution VM (DCE) with Java 8. Could not find data/64/lib/amd64/server/libjvm.so in jar-file. I have tried to put amd64 libraries in…
Hushen Savani
  • 346
  • 6
  • 18
0
votes
0 answers

can Instrumentation.redefineClasses trigger VirtualMachine.redefineClasses?

If a class has been redefined by Instrumentation.redefineClasses, is there a way to trigger the referenceType be redefined by VirtualMachine.redefineClasses?
nzomkxia
  • 1,219
  • 4
  • 16
  • 35
0
votes
1 answer

Hot reload using Spring not working

I need the Spring boot application of mine to hot reload when a particular input file has changed. I have added the spring loaded plugin as shown below.
AnOldSoul
  • 4,017
  • 12
  • 57
  • 118
0
votes
1 answer

Howswap resources with IDEA

I develop a simple standalone application without any application server. Can IDEA do hotswap with resources (hotswap works with classes fine when I do rebuild). Also I use gradle as a build system, my application read static resources from…
mystdeim
  • 4,802
  • 11
  • 49
  • 77
0
votes
1 answer

How can I force remote updates or remote hotswap code without human interaction?

I'm currently working on an app that does timelapse images and saves them to Google Drive automatically, that part is working fine. However these phones might be deployed in places where physical access might be limited, so whatever we can do…
Syzygy
  • 578
  • 7
  • 27
0
votes
0 answers

PCI rescan causes infiniband packet drops

I'm experiencing some issues with the network when I trigger a PCI rescan on Linux with echo 1 > /sys/bus/pci/rescan. I observe data loss, sometimes deadlocks in client/server applications or processes turning into zombie processes. This happens on…
jyvet
  • 2,021
  • 15
  • 22
0
votes
0 answers

Wildfly failed to perform hot deploy on Windows

When using IntelliJ IDEA 2016.2 + WildFly 8.2.1 Final on OSX(macOS) or Linux(Ubuntu 16.04) with default settings, I can perform hot deploy after these steps: Make your artifact war exploded. Enable Build on make. Enable On frame deactivation:…
GoForce5500
  • 111
  • 1
  • 7
0
votes
1 answer

long running loops becomes non-debuggable in intellij

I use IntelliJ to develop and debug applications. Many times I hot-swap classes as part of debugging. Some time (just sometimes) I am unable to set break points in newly added code. The IDE shows that the break point is valid-- but does not stop…
Jayan
  • 18,003
  • 15
  • 89
  • 143
0
votes
2 answers

Erlang Hot Code Swapping vs interpreted languages

The feature widely advertised about Erlang is its ability to hot-swap code modules while the app is running and is shown as a unique killer-feature not available in other languages. Here is a quote from Joe Armstrong's book: Most servers execute a…
Sergei Basharov
  • 51,276
  • 73
  • 200
  • 335