org.apache.tools.ant.taskdefs.Javac.setMemoryInitialSize()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中org.apache.tools.ant.taskdefs.Javac.setMemoryInitialSize()方法的一些代码示例,展示了Javac.setMemoryInitialSize()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Javac.setMemoryInitialSize()方法的具体详情如下:
包路径:org.apache.tools.ant.taskdefs.Javac
类名称:Javac
方法名:setMemoryInitialSize

Javac.setMemoryInitialSize介绍

[英]The initial size of the memory for the underlying VM if javac is run externally; ignored otherwise. Defaults to the standard VM memory setting. (Examples: 83886080, 81920k, or 80m)
[中]如果javac在外部运行,则底层VM的初始内存大小;否则就被忽略了。默认为标准VM内存设置。(示例:83886080、8192000或80m)

代码示例

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

javac.setIncludejavaruntime(includeJavaRuntime);
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);
if (memoryMaximumSize != null) javac.setMemoryMaximumSize(memoryMaximumSize);
javac.setOptimize(optimize);

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

javac.setIncludejavaruntime(includeJavaRuntime);
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);
if (memoryMaximumSize != null) javac.setMemoryMaximumSize(memoryMaximumSize);
javac.setOptimize(optimize);

代码示例来源:origin: com.github.pjfanning/xmlbeans

javac.setIncludejavaruntime(includeJavaRuntime);
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);
if (memoryMaximumSize != null) javac.setMemoryMaximumSize(memoryMaximumSize);
javac.setOptimize(optimize);

相关文章