Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b09964e9
Kaydet (Commit)
b09964e9
authored
Ara 11, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
update documentation
Change-Id: Icd966a850b7c5e276e8b1d74566a4ea02e5b4a5c
üst
ebd2d28c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
AsynchronousFinalizer.java
jurt/com/sun/star/lib/util/AsynchronousFinalizer.java
+6
-4
No files found.
jurt/com/sun/star/lib/util/AsynchronousFinalizer.java
Dosyayı görüntüle @
b09964e9
...
@@ -24,15 +24,17 @@ import java.util.LinkedList;
...
@@ -24,15 +24,17 @@ import java.util.LinkedList;
* Helper class to asynchronously execute finalize methods.
* Helper class to asynchronously execute finalize methods.
*
*
* <p>Current JVMs seem not to be robust against long-running finalize methods,
* <p>Current JVMs seem not to be robust against long-running finalize methods,
* in that such long-running finalize methods may lead to OutOfMemoryErrors.
This
* in that such long-running finalize methods may lead to OutOfMemoryErrors.
* class mitigates the problem by asynchronously shifting the bodies of
*
This
class mitigates the problem by asynchronously shifting the bodies of
* potentially long-running finalize methods into an extra thread. Classes that
* potentially long-running finalize methods into an extra thread. Classes that
* make use of this in their finalize methods are the proxies used in the
* make use of this in their finalize methods are the proxies used in the
* intra-process JNI UNO bridge and the inter-process Java URP UNO bridge (where
* intra-process JNI UNO bridge and the inter-process Java URP UNO bridge (where
* in both cases finalizers lead to synchronous UNO release calls).</p>
* in both cases finalizers lead to synchronous UNO release calls).</p>
*
*
* <p>If JVMs are getting more mature and should no longer have problems with
* <p>Irrespective whether JVMs are getting more mature and should no longer
* long-running finalize methods, this class could be removed again.</p>
* have problems with long-running finalize methods, at least the JNI UNO bridge
* needs some way to stop finalization of proxies (to C++ objects) well before
* process exit, as provided by drain().</p>
*/
*/
public
final
class
AsynchronousFinalizer
{
public
final
class
AsynchronousFinalizer
{
public
AsynchronousFinalizer
()
{
public
AsynchronousFinalizer
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment