Enhancement #7650

Add shutdown hook for the platform to make Simantics application shutdown more robust

Added by Tuukka Lehtonen 5 months ago. Updated 3 months ago.

Status:ClosedStart date:2017-11-29
Priority:4Due date:2017-11-29
Assignee:Tuukka Lehtonen% Done:

100%

Category:-Spent time:-
Target version:2017-27
Release notes:Added JVM shutdown hook to SimanticsPlatform to force controlled shut down in case of unexpected errors.
Tags: platform, 1.31.0
Story points-
Velocity based estimate-
ReleaseSimantics 1.31.0Release relationshipAuto

Associated revisions

Revision ce7ffc15
Added by Tuukka Lehtonen 5 months ago

More robust Simantics platform shutdown logic.

Added a JVM runtime shutdown hook to ensure that unless the JVM process
is killed forcibly, the JVM should attempt properly shutting down the
Simantics platform, even if the client code that started the platform
fails to do so for any reason.

Also marked both SimanticsPlatform.{startUp,shutdown} synchronized to
prevent concurrent access to either the start-up or shutdown logic.

refs #7650

Change-Id: I8c8022730ed973d80897fb364592881425b0a51f

History

#1 Updated by Tuukka Lehtonen 5 months ago

  • Tags changed from 1.31.0 to 1.31.0, platform
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Tuukka Lehtonen 3 months ago

  • Status changed from Resolved to Closed
  • Release notes set to Added JVM shutdown hook to SimanticsPlatform to force controlled shut down in case of unexpected errors.

Also available in: Atom PDF