Commit Graph

  • e9fd783df5 Linker fixes for libnx switch Luke Street 2018-12-13 00:33:10 -05:00
  • e9737dac70 Use thread suspension with libnx Luke Street 2018-12-03 00:46:45 -05:00
  • de325e14ac Exclude pthread_stop_world for libnx Luke Street 2018-12-02 13:48:14 -05:00
  • 4d813be83f Fixes for libnx Luke Street 2018-11-29 10:58:46 -05:00
  • 91a1b8b326 Merge remote-tracking branch 'ivmai/master' Luke Street 2018-11-25 11:47:26 -05:00
  • 950d21b6fc Travis CI: Test with -D TEST_WITH_SYSTEM_MALLOC passed to CFLAGS Ivan Maidanski 2018-11-23 21:41:07 +03:00
  • 63b237ea5f Eliminate 'function is never used' cppcheck warning for calloc/realloc Ivan Maidanski 2018-11-23 21:36:20 +03:00
  • 8fc1ebf6dd Add initial testing of GC_enable/disable, MALLOC[_ATOMIC]_IGNORE_OFF_PAGE Ivan Maidanski 2018-11-23 14:42:57 +03:00
  • 976fdc817e Workaround 'GC_dump function is never used' cppcheck warning Ivan Maidanski 2018-11-23 11:57:29 +03:00
  • a613b15ce4 Workaround '*_stubborn function is never used' cppcheck warnings Ivan Maidanski 2018-11-23 11:49:31 +03:00
  • 20cfa75b7b Fix mutex_trylock failure in disclaim_weakmap_test in leak detection mode Ivan Maidanski 2018-11-23 09:23:02 +03:00
  • 83c4564291 Fix 'collecting from unknown thread' abort in leak-finding mode for Win32 (fix of commit 8e6460052) Ivan Maidanski 2018-11-23 02:22:41 +03:00
  • 64b623ef3c Turn off leak detection mode explicitly in cord/de Ivan Maidanski 2018-11-23 02:10:10 +03:00
  • 0592da8c47 Print relevant message in tests not appropriate for leak detection mode Ivan Maidanski 2018-11-23 01:17:28 +03:00
  • 1d7cf245be Travis CI: Pass -U GC_PRIVATE_H to cppcheck Ivan Maidanski 2018-11-22 16:39:52 +03:00
  • 1cac788521 Workaround 'nonlocal var will use ptr to local var' cppcheck false positive Ivan Maidanski 2018-11-22 14:34:03 +03:00
  • 225f807047 Eliminate 'struct member is never used' cppcheck warnings in os_dep Ivan Maidanski 2018-11-22 13:01:16 +03:00
  • 38c35921ce Workaround 'value of _MAX_PATH is unknown' cppcheck warning Ivan Maidanski 2018-11-22 08:29:31 +03:00
  • a81e116eeb Travis CI: Test with FIND_LEAK Ivan Maidanski 2018-11-22 01:01:46 +03:00
  • eb50313129 Fix test_cpp assertion violation in find-leak mode Ivan Maidanski 2018-11-22 00:32:50 +03:00
  • 06019fb90d New macro to suppress printing of leaked objects Ivan Maidanski 2018-11-22 00:09:14 +03:00
  • 1ae6762a1a Travis CI: Test with AO_USE_PTHREAD_DEFS passed in CFLAGS to configure Ivan Maidanski 2018-11-21 12:30:24 +03:00
  • 792268aea3 Turn off parallel marker, thread-local allocation if used AO ops emulated Ivan Maidanski 2018-11-21 12:16:01 +03:00
  • 016f30060f Fix a deadlock in write_fault_handler if AO_or is emulated Ivan Maidanski 2018-11-21 00:19:20 +03:00
  • 70283bbb45 Do not use spin locks if AO test-and-set is emulated (pthreads) Ivan Maidanski 2018-11-20 23:44:08 +03:00
  • 8d4ecdfc81 Fix deadlocks in write and suspend handlers if AO test-and-set is emulated Ivan Maidanski 2018-11-20 11:42:52 +03:00
  • a72365dad9 Prevent config macros redefinition undefined in gcconfig.h (fix of commit 4f837f7a7) Ivan Maidanski 2018-11-17 00:51:49 +03:00
  • 0bbc0dc5d4 Avoid potential 'macro redefinition' errors for config.h macros Ivan Maidanski 2018-11-16 20:27:42 +03:00
  • 9d4f02e14d Appveyor CI: Use 'make check-without-test-driver' for Cygwin Ivan Maidanski 2018-11-16 00:30:37 +03:00
  • a6a10add72 Fix tests linkage with internal atomic_ops.o Ivan Maidanski 2018-11-15 12:08:14 +03:00
  • dae5fe9150 Update AUTHORS file (add Fabrice Fontaine) Ivan Maidanski 2018-11-15 11:54:13 +03:00
  • 02a44ee1df Fix linkage with a system libatomic_ops shared library Fabrice Fontaine 2018-11-05 22:50:40 +01:00
  • 22b7fe6276 Fix typo in '#endif' in gcconfig.h (fix of commit 85422f3) Ivan Maidanski 2018-11-14 11:32:34 +03:00
  • 85422f3fcd Workaround cppcheck warnings regarding CLOCKS_PER_SEC, REDIRECT_REALLOC Ivan Maidanski 2018-11-14 11:02:01 +03:00
  • 208846413a Use standalone private macro to guard against ptr_t redefinition (code refactoring) Ivan Maidanski 2018-11-14 10:49:27 +03:00
  • 4f837f7a7a Remove redundant header double-inclusion checks in the private headers (code refactoring) Ivan Maidanski 2018-11-14 01:24:13 +03:00
  • eb81ab1b1c Workaround 'local address assignment to a global variable' CSA warning Ivan Maidanski 2018-11-13 11:02:49 +03:00
  • 077a359bfc Eliminate 'non-virtual destructor for class with inheritors' CSA warning Ivan Maidanski 2018-11-12 21:16:42 +03:00
  • 68ed65ab42 Guard against potential buffer overflow in CORD_next and CORD_pos_fetch Ivan Maidanski 2018-11-12 20:57:32 +03:00
  • 06bd53fff8 Workaround 'potential non-terminated string' false positive in cordbscs Ivan Maidanski 2018-11-12 11:12:09 +03:00
  • 5260eb0d79 Fix 'too wide non-owner permissions are set for resource' code defect Ivan Maidanski 2018-11-12 10:52:01 +03:00
  • 5407e712dd Eliminate 'casting signed to bigger unsigned int' CSA warning Ivan Maidanski 2018-11-12 10:30:18 +03:00
  • e52e353434 Adjust #error messages format (code refactoring) Ivan Maidanski 2018-11-09 21:25:29 +03:00
  • 0426fc120e Workaround '#error' cppcheck messages in backgraph and private headers Ivan Maidanski 2018-11-09 20:54:23 +03:00
  • 4bd438c252 Eliminate 'uninitialized var' cppcheck false positive in mach_dep, os_dep Ivan Maidanski 2018-11-09 20:08:20 +03:00
  • ff278e2885 Workaround 'AST broken' syntax error reported by cppcheck in GC_mark_some Ivan Maidanski 2018-11-09 11:35:37 +03:00
  • 6089f66e83 Workaround 'local variable obj_displ shadows outer symbol' cppcheck warning (fix of commit 8d64dbd10) Ivan Maidanski 2018-11-09 11:14:02 +03:00
  • a927a79538 Workaround 'local variable end shadows outer symbol' cppcheck warnings Ivan Maidanski 2018-11-09 10:35:36 +03:00
  • ae06939a1f Fix 'set_pht_entry_from_index_concurrent value is unknown' cppcheck warning (fix of commit cdc201f40) Ivan Maidanski 2018-11-09 10:14:09 +03:00
  • 4d9121976d Eliminate redundant check in backwards_height Ivan Maidanski 2018-11-09 01:05:51 +03:00
  • 49e0e6e6b4 Reduce scope of local variables in GC_remove_all_threads_but_me Ivan Maidanski 2018-11-09 00:45:14 +03:00
  • e3b2cf50da Prevent double inclusion of javaxfc.h and private/specific.h Ivan Maidanski 2018-11-09 00:30:33 +03:00
  • 951324e0ef Travis CI: Execute cppcheck without sudo and -U long Ivan Maidanski 2018-11-08 12:22:04 +03:00
  • 9337417097 Use GC_WORD_MAX macro across all C source files (code refactoring) Ivan Maidanski 2018-11-07 23:34:04 +03:00
  • 36a6d79e18 Add comment about hbp overflow in GC_install_counts (fix of commit 6a32bb4) Ivan Maidanski 2018-11-07 23:01:31 +03:00
  • 8dad87955e Eliminate 'unreferenced formal parameter' compiler warning in msvc_dbg Ivan Maidanski 2018-11-07 22:47:02 +03:00
  • c1976a3967 Workaround 'pointer addition with NULL pointer' cppcheck error in msvc_dbg Ivan Maidanski 2018-11-07 10:15:31 +03:00
  • d8155cfed4 Remove strlen calls with a constant string argument in msvc_dbg (code refactoring) Ivan Maidanski 2018-11-07 10:00:21 +03:00
  • 18f50d83d9 Use macro to operate on a flag residing in GC_stop_count (code refactoring of commit 295a2f24e) Ivan Maidanski 2018-11-07 01:11:23 +03:00
  • 4ef1a7b76b Document assertion in the setters that used to return old value (code refactoring) Ivan Maidanski 2018-11-07 00:48:21 +03:00
  • 7d9b1a45b3 Remove redundant type casts in backgraph HEIGHT_UNKNOWN/IN_PROGRESS (code refactoring) Ivan Maidanski 2018-11-07 00:30:18 +03:00
  • c784575fb0 Appveyor CI: Test with cygwin (32-bit) configuration Ivan Maidanski 2018-11-04 12:10:40 +03:00
  • 6a32bb4cf8 Fix hbp overflow in GC_install_counts Ivan Maidanski 2018-11-04 11:59:11 +03:00
  • d29c77c46d Appveyor CI: Remove echo of environment variables (code refactoring of commits e9b50024e, 5533d1c7c, 696dd85af) Ivan Maidanski 2018-11-04 11:41:52 +03:00
  • 3a5da5e6c7 Fix marks and hb_n_marks consistency when disclaim returns true Petter A. Urkedal 2018-10-30 21:00:32 +01:00
  • 95e0747277 Fix data race in disclaim_weakmap_test statistic counters update (fix of commit 6eba4218a) Ivan Maidanski 2018-10-30 10:38:56 +03:00
  • 548ac4fbc6 Enable compilation without C runtime (Win32) (part of commit 193af77 from Unity-Technologies/bdwgc) Michael DeRoy 2018-10-29 07:45:59 +03:00
  • 1471f940e9 Support UWP/arm64 target Tautvydas Zilys 2018-09-10 11:43:39 -07:00
  • 696dd85af5 Appveyor CI: Test with cygwin64 configuration Ivan Maidanski 2018-10-24 02:09:47 +03:00
  • 9732d91fb2 Fix lock assertion violation in get_index if GC_ALWAYS_MULTITHREADED (fix of commit d5c65315b) Ivan Maidanski 2018-10-24 02:08:14 +03:00
  • 753cec25f5 Add I_HOLD_LOCK assertion to expand_hp_inner and related functions (code refactoring) Ivan Maidanski 2018-10-24 01:50:14 +03:00
  • 5533d1c7c7 Appveyor CI: Test with MinGW and mingw-w64 configurations Ivan Maidanski 2018-10-23 11:19:11 +03:00
  • e9b50024e3 Appveyor CI: Refactoring of script to use environment matrix Ivan Maidanski 2018-10-23 10:34:13 +03:00
  • 6eba4218a2 Enable disclaim_weakmap_test for the single-threaded environment (fix of commit 0cc2c0e7e) Ivan Maidanski 2018-10-22 11:04:36 +03:00
  • ed09b5dfe1 Update AUTHORS file Ivan Maidanski 2018-10-22 08:58:29 +03:00
  • 03aa2b1c78 Update documentation about arm64 ABI in gcconfig.h (fix of commit b399b13b9) Wookey 2018-10-22 08:52:51 +03:00
  • dc87c1afb2 Workaround 'identical inner return condition always true' cppcheck warning Ivan Maidanski 2018-10-19 11:27:09 +03:00
  • ebb8b8c31e Add copyright information about disclaim_weakmap_test source to README Ivan Maidanski 2018-10-19 11:08:48 +03:00
  • 4688d58565 Add paths to filenames mentioned in the copyright section in README Ivan Maidanski 2018-10-19 10:55:40 +03:00
  • b6157061d4 Travis CI: Output content of disclaim_weak_test.log Petter Urkedal 2018-10-19 10:11:49 +03:00
  • 2ca4dd5953 .gitignore: Ignore disclaim_weakmap_test executable file Ivan Maidanski 2018-10-19 10:09:25 +03:00
  • 0cc2c0e7ea Add test using disclaim notifiers to implement a weak map Petter Urkedal 2018-10-08 20:40:58 +02:00
  • eb1a9c646a Check result of pthread_mutex_unlock in specific.c Ivan Maidanski 2018-10-17 10:21:10 +03:00
  • 85e3083ffc New API function to get size of object debug header Ivan Maidanski 2018-10-15 23:54:57 +03:00
  • dfa0830351 Pass -Wall -Wextra -Wpedantic to g++ if supported (configure) Ivan Maidanski 2018-10-12 00:33:56 +03:00
  • f84fc540b1 Eliminate 'pointer targets differ in signedness' compiler warning (Win32) (fix of commit b66a887d7) Ivan Maidanski 2018-10-09 10:59:39 +03:00
  • 88736fcc1e Update ChangeLog file (v8.0 changes) Ivan Maidanski 2018-10-05 00:43:43 +03:00
  • fb25acd438 Update ChangeLog file (v7.6 changes) (a cherry-pick of commit 16cbc85d from 'release-7_6') Ivan Maidanski 2018-10-04 00:11:15 +03:00
  • e129725ffc Update ChangeLog file (v7.2 - v7.4 changes only) (a cherry-pick of commit 4bcd0c33 from 'release-7_4') Ivan Maidanski 2018-10-03 01:41:39 +03:00
  • 32704bf8af Fix memory allocation on GCF (Linux/x64) Ivan Maidanski 2018-10-03 11:02:07 +03:00
  • 4e979bdd8e Fix 'USE_MUNMAP macro redefinition' error for NaCl (fix of commit 1aabce0f9) Ivan Maidanski 2018-10-03 10:28:26 +03:00
  • a5fcd7ef43 Remove extra USE_MMAP definition for Interix (code refactoring) Ivan Maidanski 2018-10-03 10:08:17 +03:00
  • 612a869726 Call real pthread_sigmask instead of its wrapper in start_mark_threads (fix of commit 95947bdc5) Ivan Maidanski 2018-09-28 09:35:51 +03:00
  • d6db3f005e Prevent a deadlock in suspend_thread and after process forking (fix of commit 0c0e4cd) Ivan Maidanski 2018-09-27 01:38:02 +03:00
  • cdc201f402 Use AO_or in async_set_pht_entry_from_index if available Ivan Maidanski 2018-09-26 10:12:06 +03:00
  • 0c0e4cd0b9 Fix concurrent bitmap update in GC_dirty Ivan Maidanski 2018-09-24 09:54:03 +03:00
  • 7305e56195 Remove unused clear_pht_entry_from_index macro (code refactoring) Ivan Maidanski 2018-09-22 15:59:42 +03:00
  • 4158701ae2 Refine documentation in gc_disclaim.h about closure object protection (fix of commit 8ce6ef6) Ivan Maidanski 2018-09-22 15:55:45 +03:00
  • ea9d6dd6a1 Fix disclaim_test failure in case of GC_DEBUG (fix of commit 21312a0) Ivan Maidanski 2018-09-21 09:56:23 +03:00
  • 14cb44864c Default to a single-threaded build for Nintendo, Orbis, Sony PSP targets (fix of commits ce1f87461, 97182297e, d5dad58d3, cd63cf1e8) Ivan Maidanski 2018-09-20 00:17:38 +03:00