Merge Request #18 · created by Harshad RJ

Termination semantics for System JVM

  • Use a http server on node side for initial bootstrap of IPC.
  • When node becomes idle, check if JVM is also idle. If so, then terminate JVM. Else, check JVM again after some time.
  • When node process is interrupted (SIGTERM or unhandled-exception), JVM is requested to terminate.
  • When node process gets abruptly killed (segfault, SIGTERM, etc), JVM detects the absence of heart beat signal from node and terminates automatically.

Closes #73

Please test and review. Apart from running the mocha test, there is now a test which can be run directly on node (test/DirectRun.js).

From hrjet9:i73-term-http into jimsproch:master

Merged by Harshad RJ

2 participants

Assignee: Jim Sproch

Milestone: none

0 up
0 down

16 Feb, 2016

5 commits

15 Feb, 2016

1 commit

14 Feb, 2016

1 commit

13 Feb, 2016

3 commits

12 Feb, 2016

2 commits