Classloader 控制JRebel包范围
我正试图加快使用JRebel调试的代码的执行速度。特别是,我注意到框架代码很慢。我想知道我是否可以告诉JRebel忽略某些包,就像我们可以设置JProfiler忽略某些包和模式一样。您完全可以Classloader 控制JRebel包范围,classloader,wildfly,jprofiler,jrebel,Classloader,Wildfly,Jprofiler,Jrebel,我正试图加快使用JRebel调试的代码的执行速度。特别是,我注意到框架代码很慢。我想知道我是否可以告诉JRebel忽略某些包,就像我们可以设置JProfiler忽略某些包和模式一样。您完全可以 使用仅用于此目的的系统属性(或添加到jrebel.properties)。更多信息请访问 使用Ant样式的模式在rebel.xml中指定排除的包。更多信息请访问 这两种方法的工作原理相似,但由于第二种方法能够单独定制每个模块,因此通常首选这种方法 -Drebel.exclude_package
- 使用仅用于此目的的系统属性(或添加到jrebel.properties)。更多信息请访问
- 使用Ant样式的模式在rebel.xml中指定排除的包。更多信息请访问
这两种方法的工作原理相似,但由于第二种方法能够单独定制每个模块,因此通常首选这种方法
-Drebel.exclude_packages=PACKAGE1,PACKAGE2,...
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_1.xsd">
<classpath>
<dir name="/path/to/module/build/directory/root">
<exclude name="com/yourapp/package1/internal/**"/>
</dir>
</classpath>
</application>