Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About rwhite226

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. rwhite226

    Class unloading

    I am working on an app that has a plugin system that loads plugins (jars) with their own classloader. Under java I can see that when a plugin is stopped the classloader is finalized and collected. But under excelsior the finalize method is never called, the memory usage increases over time (as plugins start and stop), and according to visualvm no classes are ever unloaded. Does excelsior jet simply never unload classes loaded my the jit compiler? EDIT: On further investigation it seems that no classloader will be gc after it has loaded classes.
  2. I'm trying to use kotlin with tornadofx (a kotlin javafx wrapper.) I keep getting errors similar to this one. Exception in Application constructor Exception in thread "main" java.lang.RuntimeException: Unable to construct Application instance: class TodoTestApp at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source) at com.sun.javafx.application.LauncherImpl.<unknown>(Unknown Source) at com.sun.javafx.application.LauncherImpl$$Lambda$37.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.<unknown>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.sun.javafx.application.LauncherImpl.<unknown>(Unknown Source) at com.sun.javafx.application.LauncherImpl$$Lambda$231.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.<unknown>(Unknown Source) at com.sun.javafx.application.PlatformImpl$$Lambda$74.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.<unknown>(Unknown Source) at com.sun.javafx.application.PlatformImpl$$Lambda$216.run(Unknown Source) at java.security.AccessController.<unknown>(Unknown Source) at com.sun.javafx.application.PlatformImpl.<unknown>(Unknown Source) at com.sun.javafx.application.PlatformImpl$$Lambda$62.run(Unknown Source) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.<unknown>(Unknown Source) at com.sun.glass.ui.win.WinApplication$$Lambda$108.run(Unknown Source) ... 1 more Caused by: java.lang.VerifyError: class: "tornadofx/CSSKt", method: "toSelector", signature: "(Ljava/lang/String;)Ltornadofx/CssSelector;", offset 123 Uninitialized object exists on backward branch 77 at tornadofx.Stylesheet.<clinit>(Unknown Source) at tornadofx.App.<init>(Unknown Source) at tornadofx.WorkspaceApp.<init>(Unknown Source) at TodoTestApp.<init>(Unknown Source) ... 18 more Here is a link to a demo app that exhibits the issue https://github.com/rwhite226/tornadofx-bug-demo