JLink`
JLink`

ReleaseJavaObject

ReleaseJavaObject[javaobject]

tells the Java memory-management system to forget about any references to the specified JavaObject that are being maintained solely for the sake of the Wolfram Language.

更多信息和选项

  • To use ReleaseJavaObject, you first need to load J/Link using Needs["JLink`"].
  • The JavaObject in the Wolfram Language is no longer valid after the call.
  • Call ReleaseJavaObject when you are completely finished with an object in the Wolfram Language, and want to allow it to be garbage-collected in Java.
Wolfram Research (2007),ReleaseJavaObject,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/ReleaseJavaObject.html.

文本

Wolfram Research (2007),ReleaseJavaObject,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/ReleaseJavaObject.html.

CMS

Wolfram 语言. 2007. "ReleaseJavaObject." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/ReleaseJavaObject.html.

APA

Wolfram 语言. (2007). ReleaseJavaObject. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/JLink/ref/ReleaseJavaObject.html 年

BibTeX

@misc{reference.wolfram_2024_releasejavaobject, author="Wolfram Research", title="{ReleaseJavaObject}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/ReleaseJavaObject.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_releasejavaobject, organization={Wolfram Research}, title={ReleaseJavaObject}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/ReleaseJavaObject.html}, note=[Accessed: 22-November-2024 ]}