From 09836277e2ee8daa6a0d601fc673fd75e43d5a34 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Sun, 15 Dec 2024 14:17:18 +0100 Subject: [PATCH] back port performance improvement on felix cache from 7 to 6 --- loader/build.xml | 2 +- loader/pom.xml | 2 +- .../java/lucee/loader/engine/CFMLEngineFactory.java | 11 ----------- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/loader/build.xml b/loader/build.xml index 315ba657d3..35a3ff2da1 100644 --- a/loader/build.xml +++ b/loader/build.xml @@ -2,7 +2,7 @@ - + diff --git a/loader/pom.xml b/loader/pom.xml index 4eed6581cb..35af946d7c 100644 --- a/loader/pom.xml +++ b/loader/pom.xml @@ -3,7 +3,7 @@ org.lucee lucee - 6.2.0.216-SNAPSHOT + 6.2.0.217-SNAPSHOT jar Lucee Loader Build diff --git a/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java b/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java index c5b3f2eeee..92c55fc8a4 100755 --- a/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java +++ b/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java @@ -288,17 +288,6 @@ public void shutdownFelix() throws BundleException { BundleCollection bc = singelton.getBundleCollection(); if (bc == null || bc.felix == null) return; - - // stop - BundleLoader.removeBundles(bc); - - // we give it some time - try { - Thread.sleep(5000); - } - catch (InterruptedException e) { - } - BundleUtil.stop(felix, false); }