Ignore:
Timestamp:
Apr 10, 2007, 3:27:26 PM (18 years ago)
Author:
ggaren
Message:

Reviewed by John Sullivan, Darin Adler.


Fixed <rdar://problem/5121899> JavaScript garbage collection leads to
later crash under Rosetta (should abort or leak instead?)


Log an error message and crash if the kernel reports failure during GC.
We decided to do this instead of just leaking because we don't want people
to get the mistaken impression that running in Rosetta is a supported
configurtion.


The CRASH macro will also hook into CrashReporter, which will tell us if
many (any?) users run into this issue.

  • kjs/collector.cpp: (KJS::getPlatformThreadRegisters):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r20476 r20835  
    13901390                        isa = PBXProject;
    13911391                        buildConfigurationList = 149C277108902AFE008A9EFC /* Build configuration list for PBXProject "JavaScriptCore" */;
     1392                        compatibilityVersion = "Xcode 2.4";
    13921393                        hasScannedForEncodings = 1;
    13931394                        mainGroup = 0867D691FE84028FC02AAC07 /* JavaScriptCore */;
     
    13951396                        projectDirPath = "";
    13961397                        projectRoot = "";
     1398                        shouldCheckCompatibility = 1;
    13971399                        targets = (
    13981400                                932F5BE30822A1C700736975 /* All */,
Note: See TracChangeset for help on using the changeset viewer.