| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 public: | 544 public: |
| 545 static ThreadState* state() { return ThreadState::current(); } | 545 static ThreadState* state() { return ThreadState::current(); } |
| 546 }; | 546 }; |
| 547 | 547 |
| 548 // FIXME: Experiment if the threading affinity really matters for performance. | 548 // FIXME: Experiment if the threading affinity really matters for performance. |
| 549 // FIXME: Move these macros and other related structures to a separate file. | 549 // FIXME: Move these macros and other related structures to a separate file. |
| 550 USED_FROM_MULTIPLE_THREADS(Algorithm); | 550 USED_FROM_MULTIPLE_THREADS(Algorithm); |
| 551 USED_FROM_MULTIPLE_THREADS(Crypto); | 551 USED_FROM_MULTIPLE_THREADS(Crypto); |
| 552 USED_FROM_MULTIPLE_THREADS(DOMParser); | 552 USED_FROM_MULTIPLE_THREADS(DOMParser); |
| 553 USED_FROM_MULTIPLE_THREADS(DOMURL); | 553 USED_FROM_MULTIPLE_THREADS(DOMURL); |
| 554 USED_FROM_MULTIPLE_THREADS(DedicatedWorkerGlobalScope); |
| 554 USED_FROM_MULTIPLE_THREADS(DeprecatedStorageQuota); | 555 USED_FROM_MULTIPLE_THREADS(DeprecatedStorageQuota); |
| 555 USED_FROM_MULTIPLE_THREADS(EventSource); | 556 USED_FROM_MULTIPLE_THREADS(EventSource); |
| 556 USED_FROM_MULTIPLE_THREADS(Key); | 557 USED_FROM_MULTIPLE_THREADS(Key); |
| 557 USED_FROM_MULTIPLE_THREADS(KeyPair); | 558 USED_FROM_MULTIPLE_THREADS(KeyPair); |
| 558 USED_FROM_MULTIPLE_THREADS(MemoryInfo); | 559 USED_FROM_MULTIPLE_THREADS(MemoryInfo); |
| 559 USED_FROM_MULTIPLE_THREADS(Notification); | 560 USED_FROM_MULTIPLE_THREADS(Notification); |
| 560 USED_FROM_MULTIPLE_THREADS(NotificationCenter); | 561 USED_FROM_MULTIPLE_THREADS(NotificationCenter); |
| 561 USED_FROM_MULTIPLE_THREADS(Performance); | 562 USED_FROM_MULTIPLE_THREADS(Performance); |
| 562 USED_FROM_MULTIPLE_THREADS(PerformanceEntry); | 563 USED_FROM_MULTIPLE_THREADS(PerformanceEntry); |
| 563 USED_FROM_MULTIPLE_THREADS(PerformanceMark); | 564 USED_FROM_MULTIPLE_THREADS(PerformanceMark); |
| 564 USED_FROM_MULTIPLE_THREADS(PerformanceNavigation); | 565 USED_FROM_MULTIPLE_THREADS(PerformanceNavigation); |
| 565 USED_FROM_MULTIPLE_THREADS(PerformanceResourceTiming); | 566 USED_FROM_MULTIPLE_THREADS(PerformanceResourceTiming); |
| 566 USED_FROM_MULTIPLE_THREADS(PerformanceTiming); | 567 USED_FROM_MULTIPLE_THREADS(PerformanceTiming); |
| 568 USED_FROM_MULTIPLE_THREADS(SharedWorkerGlobalScope); |
| 567 USED_FROM_MULTIPLE_THREADS(SubtleCrypto); | 569 USED_FROM_MULTIPLE_THREADS(SubtleCrypto); |
| 568 USED_FROM_MULTIPLE_THREADS(TextDecoder); | 570 USED_FROM_MULTIPLE_THREADS(TextDecoder); |
| 569 USED_FROM_MULTIPLE_THREADS(TextEncoder); | 571 USED_FROM_MULTIPLE_THREADS(TextEncoder); |
| 570 USED_FROM_MULTIPLE_THREADS(UserTiming); | 572 USED_FROM_MULTIPLE_THREADS(UserTiming); |
| 571 USED_FROM_MULTIPLE_THREADS(WebKitNotification); | 573 USED_FROM_MULTIPLE_THREADS(WebKitNotification); |
| 574 USED_FROM_MULTIPLE_THREADS(WorkerConsole); |
| 572 USED_FROM_MULTIPLE_THREADS(WorkerCrypto); | 575 USED_FROM_MULTIPLE_THREADS(WorkerCrypto); |
| 576 USED_FROM_MULTIPLE_THREADS(WorkerGlobalScope); |
| 577 USED_FROM_MULTIPLE_THREADS(WorkerGlobalScopeCrypto); |
| 578 USED_FROM_MULTIPLE_THREADS(WorkerGlobalScopeImageBitmapFactories); |
| 579 USED_FROM_MULTIPLE_THREADS(WorkerGlobalScopeIndexedDatabase); |
| 580 USED_FROM_MULTIPLE_THREADS(WorkerGlobalScopeNotifications); |
| 581 USED_FROM_MULTIPLE_THREADS(WorkerGlobalScopePerformance); |
| 582 USED_FROM_MULTIPLE_THREADS(WorkerLocation); |
| 583 USED_FROM_MULTIPLE_THREADS(WorkerNavigator); |
| 573 USED_FROM_MULTIPLE_THREADS(WorkerPerformance); | 584 USED_FROM_MULTIPLE_THREADS(WorkerPerformance); |
| 574 USED_FROM_MULTIPLE_THREADS(XMLHttpRequest); | 585 USED_FROM_MULTIPLE_THREADS(XMLHttpRequest); |
| 575 USED_FROM_MULTIPLE_THREADS(XMLSerializer); | 586 USED_FROM_MULTIPLE_THREADS(XMLSerializer); |
| 576 USED_FROM_MULTIPLE_THREADS(XPathEvaluator); | 587 USED_FROM_MULTIPLE_THREADS(XPathEvaluator); |
| 577 USED_FROM_MULTIPLE_THREADS(XPathExpression); | 588 USED_FROM_MULTIPLE_THREADS(XPathExpression); |
| 578 USED_FROM_MULTIPLE_THREADS(XPathNSResolver); | 589 USED_FROM_MULTIPLE_THREADS(XPathNSResolver); |
| 579 USED_FROM_MULTIPLE_THREADS(XPathResult); | 590 USED_FROM_MULTIPLE_THREADS(XPathResult); |
| 580 USED_FROM_MULTIPLE_THREADS(XSLTProcessor); | 591 USED_FROM_MULTIPLE_THREADS(XSLTProcessor); |
| 581 | 592 |
| 582 } | 593 } |
| 583 | 594 |
| 584 #endif // ThreadState_h | 595 #endif // ThreadState_h |
| OLD | NEW |