Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/arrays/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Classloader 控制JRebel包范围_Classloader_Wildfly_Jprofiler_Jrebel - Fatal编程技术网

Classloader 控制JRebel包范围

Classloader 控制JRebel包范围,classloader,wildfly,jprofiler,jrebel,Classloader,Wildfly,Jprofiler,Jrebel,我正试图加快使用JRebel调试的代码的执行速度。特别是,我注意到框架代码很慢。我想知道我是否可以告诉JRebel忽略某些包,就像我们可以设置JProfiler忽略某些包和模式一样。您完全可以 使用仅用于此目的的系统属性(或添加到jrebel.properties)。更多信息请访问 使用Ant样式的模式在rebel.xml中指定排除的包。更多信息请访问 这两种方法的工作原理相似,但由于第二种方法能够单独定制每个模块,因此通常首选这种方法 -Drebel.exclude_package

我正试图加快使用JRebel调试的代码的执行速度。特别是,我注意到框架代码很慢。我想知道我是否可以告诉JRebel忽略某些包,就像我们可以设置JProfiler忽略某些包和模式一样。

您完全可以

  • 使用仅用于此目的的系统属性(或添加到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>