Unloading plugins in JVM

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • ExampleKotlinPluginLoader

    An example plugin loader for Kotlin-JVM. Can load AND close(except swing...), can load from local or remote.

  • So, I am writing a thing that takes plugins. It has to be in a JVM based language because of what I will be interfacing with so i chose kotlin. I need it to be able to dynamically open AND close the plugins. But it is hard to close them completely. I thought I had it, and then I learned to use a profiler and it turns out, I am not actually unloading them, only cutting them off from loading more things.... I made an example repo with just the loader setup, simplified api and launcher sections for people to look at. Help. Im so lost. I think im clearing all references to the plugin jar but the JVM just wont let go of the thing... Here is said example repo of said plugin loading setup. It says theres java. Dont worry. Thats copy-pasted in there as an example plugin for fun, but the simple plugins that are actually in kotlin have the same issue.... it also happens with or without the second function in the plugin interface... Fired up JVisualVM and now Im so confused.... You can pretty much ignore the exampleplugin folder unless you want to see a shitty minesweeper game hahaha. Main starts in exampleParentLoader, and then after the 1 main file sets up the 2 main loaders you move to examplepluginloader for the main part of the program https://github.com/BirdeeHub/ExampleKotlinPluginLoader Big changes are fine. The main program I'm making doesn't have a ton of stuff extra on top of it yet. It just needs to properly unload the plugins.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Unloading JVM plugins.

    1 project | /r/javahelp | 25 Aug 2023
  • Kotlin Routing - routing everything

    3 projects | dev.to | 25 Apr 2024
  • Arrow Project for Arrow on GitHub

    1 project | news.ycombinator.com | 25 Apr 2024
  • JEP draft: Exception handling in switch

    6 projects | news.ycombinator.com | 19 Apr 2024
  • How to use htmx with ktor

    2 projects | dev.to | 17 Apr 2024