VirtualBox

Ignore:
Timestamp:
Nov 4, 2023 6:26:43 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159873
Message:

libs/xpcom: Remove all code associated with GC_LEAK_DETECTOR as it is never set in our case, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h

    r101773 r101777  
    200200                (thr->interrupt_blocked = 0)
    201201
    202 #ifdef GC_LEAK_DETECTOR
    203 /* All threads are GCable. */
    204 #define _PT_IS_GCABLE_THREAD(thr) 1
    205 #else
    206202#define _PT_IS_GCABLE_THREAD(thr) ((thr)->state & PT_THREAD_GCABLE)
    207 #endif /* GC_LEAK_DETECTOR */
    208203
    209204/*
     
    651646#endif
    652647
    653 #ifdef GC_LEAK_DETECTOR
    654 /* All threads are GCable. */
    655 #define _PR_IS_GCABLE_THREAD(thr) 1
    656 #else
    657648#define _PR_IS_GCABLE_THREAD(thr) ((thr)->flags & _PR_GCABLE_THREAD)
    658 #endif /* GC_LEAK_DETECTOR */
    659649
    660650#define _PR_PENDING_INTERRUPT(thr)                                      \
     
    18021792extern void _PR_LogCleanup(void);
    18031793extern void _PR_InitLayerCache(void);
    1804 #ifdef GC_LEAK_DETECTOR
    1805 extern void _PR_InitGarbageCollector(void);
    1806 #endif
    18071794
    18081795extern PRBool _pr_initialized;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette