/
ChangeLog
9808 lines (8868 loc) · 457 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
== [7.6.18] 2023-05-26 ==
* Fix IRIX5 defined wrongly on FreeBSD/mips
* Fix alt-stack handling in GC_push_all_stacks if stack grows up
* Fix data race in GC_heapsize_at_forced_unmap variable
Also, includes 7.4.24 changes
== [7.6.16] 2022-08-26 ==
* Do not send signal to thread which is suspended manually
* Eliminate 'old_gc_no is initialized but not referenced' MS VC false warning
* Fix 'GC_greatest_stack_base_below is defined but not used' warning (IA64)
* Fix context saving when GC_suspend_thread(self)
* Fix data race in fail_proc1 of gctest
* Fix GC_suspend_thread if called before thread destructor
* Fix hang on sem_wait in GC_suspend_thread if thread was resumed recently
* Fix lock assertion violation in GC_find_limit if always multi-threaded
* Fix potential race if start_mark_threads called from threads in child
* Make finalizer_closure pointer read/write atomic in malloc and callback
* Prevent changing of GC_markers_m1 value while collection in progress
* Replace SSH cloning with HTTPS one in README
* Workaround Thread Sanitizer (TSan) FP warning in is_valid_displacement
Also, includes 7.4.22 changes
== [7.6.14] 2021-09-28 ==
* Add loop to handle abort error like in suspend logic on Darwin
* Add support of OpenBSD/aarch64
* Add threading libraries to bdw-gc.pc
* Disable mprotect-based incremental GC if /proc roots are used (Linux)
* Do not use iOS private symbols
* Eliminate 'GC_old_bus_handler defined but not used' compiler warning
* Eliminate 'comparing signed and unsigned values' BCC warning in cordtest
* Eliminate 'possible loss of data' BCC and MS VC warnings
* Eliminate 'static GC_sysinfo definition has incomplete type' Clang warning
* Eliminate 'unused function GC_add_map_entry' compiler warning
* Eliminate 'while clause does not guard' GCC warning in GC_parse_map_entry
* Explicitly zero-initialize trace_buf (fix trace_buf initialization)
* Fix 'ACCESS_VIOLATION in marker' GC warning on Win32 async thread start
* Fix 'GC_generic_malloc must be available' GCC error in new_gc_alloc.h
* Fix 'ulong undefined' compilation error on AIX
* Fix 'undefined reference to __data_start' linker error on RISC-V
* Fix 'write to GC log failed' error
* Fix GC_proc_fd value in child process at fork (Solaris)
* Fix MPROTECT_VDB definition for single-threaded GC builds
* Fix OS_TYPE and USE_MMAP_ANON definitions for Cygwin/x64
* Fix STACKBOTTOM on 32-bit HP/UX 11.11
* Fix abort in GC_printf when gctest is built as WinMain executable (Cygwin)
* Fix assertion violation in register_dynlib_callback on Android
* Fix compiling by Makefile.direct on OpenBSD/UltraSparc
* Fix configure message about 'AIX gcc optimization fix'
* Fix cordtest build in SMakefile.amiga
* Fix data race regarding *rlh value in generic_malloc_many
* Fix first_thread stack_base initialization if custom GC_stackbottom (Win32)
* Fix gc_allocator.h compilation by Clang
* Fix gc_cflags variable name in configure (HP/UX)
* Fix handling of areas smaller than page size in GC_scratch_recycle
* Fix incorrect define GC_OPENBSD_THREADS on sparc64
* Fix misaligned tlfs passed to AO_load on m68k
* Fix missing GC_quiet declaration in pcr_interface.c
* Fix missing gc_dlopen.c in CMake script
* Fix missing scratch_last_end_ptr update (Irix)
* Fix overflow of scratch_free_ptr value
* Fix page_was_[ever_]dirty() for static roots (Solaris)
* Fix printf format specifier in simple_example.html
* Fix save_callers for multi-threaded case if built-in backtrace unavailable
* Fix test_cpp failure caused by arbitrary link order (Win32)
* Fix test_cpp failure when gc_cpp resides in a dll (Borland, Watcom)
* Fix various typos mostly in documentation files
* Fix word size, data start and alignment for OpenBSD/mips64(el)
* Prevent GetThreadContext failure (Windows)
* Prevent WARN of incompatible incremental GC if default or manual VDB
* Reduce a time period between GetExitCodeThread and SuspendThread (Win32)
* Refactoring of WoW64 workaround (Win32)
* Remove a misleading comment about Solaris in gc.h
* Workaround 'expression is only useful for its side effects' WCC warning
* Workaround fread fail after enable_incremental if malloc redirected (Linux)
== [7.6.12] 2019-03-01 ==
* Eliminate 'assigned value never used' compiler warning in test_cpp WinMain
* Fix 'mprotect remapping failed' abort on NetBSD with PaX enabled
* Fix 'undefined reference to __data_start' linker error (Android/aarch64)
* Fix 'unexpected mark stack overflow' abort in push_all_stack
* Fix 'wrong __data_start/_end pair' error on Android
* Fix BSD_TIME variant of MS_TIME_DIFF for the case of a.tv_usec < b.tv_usec
* Fix GetThreadContext stale register values use if WoW64 (Win32)
* Fix executable memory allocation in GC_unix_get_mem
* Fix invalid initializer of CLOCK_TYPE variables if BSD_TIME
* Fix thread_info() count argument value (OS X)
* Update NO_EXECUTE_PERMISSION documentation
== [7.6.10] 2018-12-13 ==
* Add paths to filenames mentioned in the copyright section in README
* Call real pthread_sigmask instead of its wrapper in start_mark_threads
* Eliminate 'casting signed to bigger unsigned int' CSA warning
* Eliminate 'non-virtual destructor for class with inheritors' CSA warning
* Fix 'collecting from unknown thread' abort in leak-finding mode for Win32
* Fix 'too wide non-owner permissions are set for resource' code defect
* Fix 'undefined reference to GC_incremental' linker error in pthread_start
* Fix GC_VSNPRINTF in cordprnt for DJGPP and MS VC for WinCE
* Fix GC_register_disclaim_proc for leak-finding mode
* Fix a deadlock in write_fault_handler if AO_or is emulated
* Fix comment typos in CMakeLists.txt, backgraph.c, de.c, gcconfig.h
* Fix concurrent bitmap update in GC_dirty
* Fix delete operator redirection if gc_cpp is built as .dll (Cygwin, MinGW)
* Fix hbp overflow in GC_install_counts
* Fix linkage with a system libatomic_ops shared library
* Fix lock assertion violation in get_index if GC_ALWAYS_MULTITHREADED
* Fix marking of finalizer closure object
* Fix marks and hb_n_marks consistency when disclaim returns true
* Fix memory allocation on GCF (Linux/x64)
* Fix missing curses.h in cord/de when compiling manually (MS VC, MinGW)
* Fix start_world not resuming all threads on Darwin
* Fix test_cpp assertion violation in find-leak mode
* Fix tests linkage with internal atomic_ops.o
* Fix unneeded end_stubborn_change in disclaim_test
* Guard against potential buffer overflow in CORD_next and CORD_pos_fetch
* New macro to suppress printing of leaked objects
* Prevent double inclusion of javaxfc.h and private/specific.h
* Reduce scope of local variables in GC_remove_all_threads_but_me
* Refine HIDE_POINTER documentation for the case of the leak-finding mode
* Refine documentation in gc_disclaim.h
* Test marking of finalizer closure object in disclaim_test
* Update documentation about arm64 ABI in gcconfig.h
* Use AO_or in async_set_pht_entry_from_index if available
* Use include gc.h with the angle brackets in the man page synopsis
== [7.6.8] 2018-08-12 ==
* Add cpu, make_as_lib, nothreads options to NT_MAKEFILE
* Add NetBSD/aarch64 and initial RISC-V support
* Adjust formatting of configure help messages and config.h comments
* Avoid multiple 'getcontext failed' warnings if getcontext is broken
* Cleanup BCC Makefile (remove absolute GC paths, fix del cmd, update clean)
* Collapse multiple NT_*_MAKEFILE scripts into a single NT_MAKEFILE
* Do not call GC_dirty_inner unless GC_incremental
* Do not use NULL in gc_inline.h
* Eliminate 'cast between incompatible function types' compiler warning
* Eliminate 'comparing signed and unsigned values' compiler warnings (bcc)
* Eliminate 'condition is always true' cppcheck warning in init_gcj_malloc
* Eliminate 'declaration of var hides global declaration' compiler warning
* Eliminate 'language extension used' Clang warning in gc.h
* Eliminate 'possibly incorrect assignment in CORD_vsprintf' compiler warning
* Eliminate 'ptr arithmetic with NULL' cppcheck warning in alloc_mark_stack
* Eliminate 'scope of var can be reduced' cppcheck warning in pthread_join
* Eliminate 'switch statement contains no case label' compiler warning
* Eliminate 'variable might be uninitialized' warning in win32_start_inner
* Eliminate duplicate clear_mark_bit call when removing disappearing link
* Fast fail on invalid CPU parameter passed to NT_MAKEFILE
* Fix 'collecting from unknown thread' abort in leak-finding mode
* Fix 'pointer arithmetic with NULL' code defect in print_callers
* Fix Borland version in documentation to match that in BCC_MAKEFILE
* Fix comment about inv_sz computation in setup_header
* Fix comments style in configure.ac and Makefile.am
* Fix compilation by digimars.mak (DMC)
* Fix compilation by WCC makefile
* Fix compilation of darwin_stop_world for iOS 8+
* Fix cords for MANUAL_VDB
* Fix dependency on gc_cpp source in BCC_MAKEFILE and NT_MAKEFILE
* Fix GC_is_valid_displacement and GC_is_visible for non-small objects
* Fix gctest in leak-finding mode
* Fix infinite restarting of mark_some when a static root disappeared (Linux)
* Fix large object base computation in PUSH_CONTENTS() if MARK_BIT_PER_OBJ
* Fix mark stack overflow checking in push_selected
* Fix missing GC_dirty calls for GC-allocated objects used internally
* Fix missing GC_dirty invocation from debug_end_stubborn_change
* Fix MSWIN32 macro redefinition (WCC)
* Fix multi-threaded gctest for the case of NTHREADS is set to zero
* Fix new and delete operators definition for DigitalMars compiler
* Fix NT_MAKEFILE for VS 2017
* Fix potential null dereference in GC_CONS
* Fix register_dynamic_libraries on Windows 10
* Fix result computation in n_set_marks
* Fix return type in GC_set_warn_proc API documentation
* Fix tests for GC compiled with MANUAL_VDB
* Fix the build for Emscripten
* Fix typo in comment for CORD_ec_flush_buf prototype
* Fix typos in ChangeLog and generic_malloc
* Fix UNTESTED for multi-threaded API functions in gctest
* Fix VirtualQuery call in case of malloc failure (Win32)
* Install gc.3 man page instead of copying gc.man to doc folder (configure)
* Keep pointer to the start of previous entry in remove_specific_after_fork
* Move de_win compiled resource files to cord/tests
* Never return null by C++ GC allocators and gc_cpp operator new
* Perform thread_suspend in loop as it may be interrupted (Darwin)
* Really abort if failed to read /proc for library registration (Linux)
* Remove code duplication in gcj_malloc and malloc_explicitly_typed
* Remove duplicate local variable in reclaim_block
* Remove information how to send bugs from README.cords file
* Remove libatomic_ops license information
* Remove unused USE_GENERIC macro definition and description
* Suppress 'functions containing switch are not expanded inline' bcc warning
* Suppress 'non-member operator new/delete may not be inline' VC++ warning
* Turn on incremental collection in gctest also if MANUAL_VDB
* Update copyright information in alloc.c, gc.c/h and the documentation
* Update EXTRA_DIST in Makefile, Win32/64 docs after NT_*_MAKEFILE removal
* Update NT_MAKEFILE usage information in README files for Win32 and Win64
* Workaround 'class C does not have a copy constructor' cppcheck warning
* Workaround 'function nested_sp is never used' cppcheck style warning
* Workaround 'opposite expression on both sides of &' cppcheck style warning
* Workaround 'template-id not supported in this context' compiler error (WCC)
== [7.6.6] 2018-04-20 ==
* Define GC_FREEBSD_THREADS and GC_ADD_CALLER macros for kFreeBSD
* Eliminate 'boolean result used in bitwise operation' cppcheck warning
* Eliminate 'there is pointer arithmetic with NULL' cppcheck warning
* Explicitly unblock GC signals on GC initialization
* Fix 'scope of var can be reduced' cppcheck err in enqueue_all_finalizers
* Fix 'undefined reference to __builtin_unwind_init' linker error (ArmCC)
* Fix arguments delimiter in pcr_interface.c (PCR)
* Fix assertion violation in DllMain of win32_threads
* Fix comment for debug_generic_malloc_inner[_ignore_off_page]
* Fix data race during apply_to_each_object(reset_back_edge)
* Fix dbg_mlc.c/o file name in documentation
* Fix gctest with musl libc on s390x
* Fix include gc_gcj.h in thread_local_alloc.c
* Fix man section number (3)
* Fix missing GC_generic_malloc_words_small implementation in new_gc_alloc.h
* Fix missing new-line in ABORT_ARG<n> definition
* Fix missing SIGBUS handler setup for kFreeBSD
* Fix null dereference in print_callers on backtrace_symbols failure
* Fix null pointer dereference in get_private_path_and_zero_file (Symbian)
* Fix the collector hang when it is configured with --enable-gc-debug
* Fix thread_suspend fail for threads registered from key destructor (OS X)
* Fix type of local variables receiving result of PHT_HASH
* Fix typo in AIX macro name
* Fix typo in comment in specific.h
* Fix unbounded heap growth in case of intensive disappearing links usage
* Remove API symbols renaming in WCC_MAKEFILE
* Support Haiku/amd64 and Haiku/x86 hosts
* Support threads for DragonFly in configure
* Workaround 'address of auto-variable returned' cppcheck error
* Workaround gctest hang on kFreeBSD (if thread-local allocations are on)
== [7.6.4] 2018-01-26 ==
* Add note of set_free_space_divisor, set_warn_proc ABI change after gc-7.1
* Change compiler invocation example in gc.man to use dynamic libgc
* Delete dont_ar_* build intermediate files on make clean (Makefile.direct)
* Do not declare dl_iterate_phdr as weak for DragonFly
* Fix 'cords' parallel build in Makefile.direct
* Fix 'undeclared identifier USRSTACK' compiler error on OpenBSD-6.2
* Fix error code in abort message if sem_wait failed in start_world (NetBSD)
* Fix GC allocation mutex in child after a fork
* Fix global operator delete definition for C++14 in gc_cpp
* Fix last_reclaimed..gc_no interval comparison to threshold in unmap_old
* Fix libgc version which was changed in linkage breaking way
* Fix missing EOLn output in threadlibs tool
* Fix threadlibs tool to output '-lpthread' for DragonFly
* Prevent DATASTART redefinition for NaCl
* Remove obsolete advice about linking with _DYNAMIC=0 (Linux)
== [7.6.2] 2017-12-23 ==
* Add assertion that no hb_n_marks underflow occurs
* Add minimal testing of GC_MALLOC_[ATOMIC_]WORDS and GC_CONS (gctest)
* Add minimal testing of GC_set_bit (gctest)
* Add more cases to huge_test to cover sizes close to word-type maximum
* Add testing of new[]/delete[] (test_cpp)
* Adjust AO_HAVE_x check to match AO_fetch_and_add primitive variant used
* Adjust code indentation of calloc_explicitly_typed
* Align local_mark_stack in help_marker explicitly
* Allow custom TRACE_ENTRIES value
* Allow gctest and thread_leak_test with zero NTHREADS
* Avoid data race in finalized_count (gctest)
* Code refactoring of divide-by-HBLKSIZE occurrences
* Code refactoring of huge_test
* Code refactoring of tests/subthread_create regarding AO add primitive
* Compile thread_local_alloc only if multi-threaded build (Makefile.am)
* Delete preprocessor output on make clean (Makefile.direct)
* Disable implicit multi-threaded mode for Win32 to avoid LOCK crash
* Do not disable parallel mark for WRAP_MARK_SOME
* Do not enable mprotect-based incremental mode if unmapping is on (gctest)
* Do not install documentation if configure --disable-docs (new option)
* Do not use tkill (Android)
* Document base and size of objects allocated by finalized_malloc
* Document configure 'syntax error' issue in README
* Eliminate 'address of local variable returned' static analyzer warning
* Eliminate 'array vs singleton' code defect in typed_test (gctest)
* Eliminate 'assigned value never used' CSA warning in min_bytes_allocd
* Eliminate 'boolean result used in bitwise op' cppcheck false warning
* Eliminate 'C-style pointer casting' cppcheck style warnings in test
* Eliminate 'checking if unsigned variable is <0' cppcheck style warning
* Eliminate 'class member var with name also defined in parent' warning
* Eliminate 'comparison is always false' static analyzer warning in finalize
* Eliminate 'Condition 0==datastart always false' cppcheck warning (dyn_load)
* Eliminate 'condition is always true' cppcheck style warning
* Eliminate 'constructor with 1 argument is not explicit' cppcheck warning
* Eliminate 'CORD_*printf is never used' cppcheck style warnings (cordtest)
* Eliminate 'dereference of null' CSA false warning in array_mark_proc
* Eliminate 'function result not used' code defect in GC_mark_local
* Eliminate 'GC_collecting is set but never used' code defect (Win32)
* Eliminate 'GC_record_fault is never used' cppcheck style warning
* Eliminate 'integer shift by a negative amount' code defect in finalize
* Eliminate 'label not used' cppcheck false warnings in GC_mark_X
* Eliminate 'memory leak' code defect for scratch-allocated memory
* Eliminate 'memory leak' code defect in remove_specific
* Eliminate 'non-null arg compared to null' warning in toggleref_add (GCC)
* Eliminate 'non-reentrant function strtok called' cppcheck warning (POSIX)
* Eliminate 'possible integer underflow' code defect (cord-de)
* Eliminate 'potential overflow' static analyzer warning in test
* Eliminate 'printf format specifies type void*' GCC pedantic warnings
* Eliminate 'scope of variable can be reduced' cppcheck warnings
* Eliminate 'suspicious pointer subtraction' cppcheck warning (gc_cpp)
* Eliminate 'this statement may fall through' GCC warnings
* Eliminate 'unnecessary comparison of static strings' cppcheck warning
* Eliminate 'unsafe vsprintf is deprecated' compiler warning
* Eliminate 'unused formal parameter' compiler warnings in C++ code (MS VC)
* Eliminate 'unused variable' compiler warning in remove_all_threads_but_me
* Eliminate 'use of vulnerable sprintf' code defect in de_win test (cord)
* Eliminate 'value exceeds maximum object size' GCC warning in huge_test
* Eliminate 'value of CLOCK_TYPE unknown' cppcheck info message
* Eliminate 'value of DATASTART2 unknown' cppcheck info messages
* Eliminate 'value of GC_PTHREAD_EXIT_ATTRIBUTE unknown' cppcheck messages
* Eliminate 'value of GC_RETURN_ADDR_PARENT unknown' cppcheck info messages
* Eliminate 'value of NEED_FIXUP_POINTER unknown' cppcheck info messages
* Eliminate 'write to memory that was const-qualified' code analyzer warning
* Eliminate all 'scope of variable can be reduced' cppcheck style warnings
* Eliminate CSA warning about incorrect cast applied to HBLK_OBJS
* Eliminate CSA warning about narrowing cast in CleanUp of test_cpp
* Eliminate CSA warning of non-virtual destructor in test_cpp base class
* Eliminate CSA warning of staticroot that can be a local variable (tests)
* Eliminate CSA warning of unmodified non-const static var (disclaim_test)
* Eliminate redundant local variable in register_finalizer
* Eliminate TSan (Thread Sanitizer) warnings in gctest
* Eliminate UBSan warning of overflow during descr subtraction in mark_from
* Eliminate unreachable PROC/DEFAULT_VDB GC_printf calls in gctest main()
* Eliminate unsigned fl_builder_count underflow in mark_thread
* Enable GC_is_tmp_root for all platforms
* Execute more single-threaded GC tests by CMake
* Expand tabs to spaces in de_win.rc (tests)
* Export GC_dump_finalization/regions()
* Export GC_is_tmp_root() and GC_print_trace[_inner]()
* Export GC_print_free_list()
* Fix '32-bit value shift followed by expansion to 64-bit' code defect
* Fix 'GC_written_pages never read' code defect (GWW_VDB)
* Fix 'label cannot be reached' static analyzer warning in disclaim_test
* Fix 'size of tv is unknown' error in brief_async_signal_safe_sleep (musl)
* Fix 'syntax error' reported by cppcheck for mach_dep
* Fix 'unknown type name GC_INNER' compilation error (FreeBSD)
* Fix 'variable assigned a value that is never used' cppcheck style warnings
* Fix 'void pointers in calculations: behavior undefined' cppcheck warning
* Fix assertion violation about disabled cancel in try_to_collect_inner
* Fix atomic_ops build in Makefile.direct for Solaris
* Fix Clang static analyzer warning about not found gc_priv.h in extra files
* Fix compilation error in get_main_stack_base (Emscripten)
* Fix compilation for winpthreads if HANDLE_FORK
* Fix compilation if configured with --enable-werror on OS X
* Fix cord/de build in Makefile.direct (Linux)
* Fix data race in a list referenced by A.aa (gctest)
* Fix data race in collectable_count (gctest)
* Fix data race in do_local_mark when comparing active_count to helper_count
* Fix data race in GC_suspend/resume_thread
* Fix data race in last_stop_count access (suspend_handler_inner)
* Fix data race in make_descriptor when setting explicit_typing_initialized
* Fix data race in mark_thread when updating mark_no
* Fix data race when getting object size in explicitly-typed allocators
* Fix deadlock in GC_suspend_thread
* Fix gctest failure for Darwin if CPPCHECK is defined
* Fix lack of barriers to synchronize memory for suspend_handler
* Fix marking of disclaim-reachable objects in the incremental mode
* Fix message of VDB implementation used if MPROTECT_VDB+GWW_VDB (gctest)
* Fix missing started_thread_while_stopped call from mark_some if GCC/Clang
* Fix null dereference in GC_stack_range_for if not DARWIN_DONT_PARSE_STACK
* Fix page calculation in checksums
* Fix parallel build in Makefile.direct
* Fix test_cpp and c++ parallel build in Makefile.direct
* Fix typo in comment of GC_mark_some
* Fix typos in cdescr.html and README.sgi
* Make GC_INIT optional for clients even if thread-local allocations enabled
* Match uclinux pattern in configure
* Move conditional GC_need_to_lock setting to gc_locks.h (refactoring)
* Move README.QUICK from DOC_FILES to OTHER_FILES in Makefile.direct
* New API function (GC_is_init_called) to check if BDWGC is initialized
* New target (check-cpp) in Makefile.direct
* Prevent abort in register_data_segments for Symbian and Emscripten
* Prevent multiple 'Caught ACCESS_VIOLATION in marker' per collection
* Print realloc_count value in gctest
* Put invariant name in quotes to make mark_state comments clearer
* Refine configure messages when checking for compiler option support
* Remove extraneous semicolons after AC_MSG_WARN (configure)
* Remove page_was_dirty and remove_protection duplicate definitions
* Remove unnecessary type casts of printf arguments to unsigned long
* Remove unused ALIGN_DOUBLE, USE_GENERIC_PUSH_REGS macros (TILE-Gx/Pro)
* Rename 'test' to 'check' target in Makefile.direct
* Replace deprecated rewind to fseek in cordxtra
* Report gcc/clang pedantic warnings (configure)
* Skip thread suspend/resume API testing for Tru64 (OSF1)
* Support AddressSanitizer (Clang/GCC) and MemorySanitizer (Clang)
* Support GC_init (and get_stack_base) from non-main thread on FreeBSD/NetBSD
* Suppress 'tainted string passed to vulnerable operation' false defects
* Suppress 'taking address of label non-standard' GCC/Clang pedantic warning
* Test GC initialization from non-main thread on FreeBSD and NetBSD
* Test GCJ object creation with length-based descriptor (gctest)
* Update comment in finalized_disclaim to match FINALIZER_CLOSURE_FLAG
* Update README regarding make cords with Makefile.direct
* Update README to use autogen.sh on build from the source repository
* Update shared libraries version info to differentiate against v7.4
* Use mprotect instead of mmap in GC_unmap() on Cygwin
* Use same style of include gc.h in documentation
* Workaround '!GC_page_size is always false' cppcheck style warning
* Workaround '#error' cppcheck error messages
* Workaround '32-bit value shift by >31 bits is undefined' cppcheck warnings
* Workaround 'array compared to 0', 'untrusted loop bound' false defects
* Workaround 'bad address arithmetic' static analysis tool false positive
* Workaround 'checking if unsigned value is negative' cppcheck warning
* Workaround 'checking unsigned value is negative' code defect in mark_from
* Workaround 'comparison of identical expressions' false code defects
* Workaround 'Condition 0!=GETENV() is always false' cppcheck style warnings
* Workaround 'condition is always false' cppcheck warning in get_next_stack
* Workaround 'condition is always true' cppcheck style warnings in GC_init
* Workaround 'function is never used' cppcheck style warnings
* Workaround 'insecure libc pseudo-random number generator used' code defect
* Workaround 'int shift by negative amount' false code defect in finalize
* Workaround 'local variable size too big' static analyzer warning
* Workaround 'memory leak: result' cppcheck false error (POSIX)
* Workaround 'null pointer dereference' false positive in push_next_marked
* Workaround 'obsolescent bcopy, bzero called' cppcheck warnings (POSIX)
* Workaround 'obsolescent usleep called' cppcheck warning (POSIX)
* Workaround 'obsolete function alloca() called' cppcheck warnings
* Workaround 'passing untyped NULL to variadic function' cppcheck warning
* Workaround 'pointer used before comparison to null' code defect (pthread)
* Workaround 'possible null pointer dereference' cppcheck warnings
* Workaround 'potential multiplication overflow' code defect in de_win (cord)
* Workaround 'redundant assignment of *result to itself' cppcheck warning
* Workaround 'resource leak' false positives in alloc_MS, bl/envfile_init
* Workaround 'same expression on both sides of ==' cppcheck style warning
* Workaround 'same expression on both sides of OR' cppcheck style warning
* Workaround 'struct member is never used' cppcheck style warnings
* Workaround 'tainted int used as loop bound' static analysis tool warning
* Workaround 'Uninitialized variable' cppcheck errors
* Workaround 'unused variable' cppcheck style warnings
* Workaround 'va_list used before va_start' cppcheck error in cord
* Workaround 'value of macro unknown' cppcheck info messages
* Workaround 'value of REDIRECT_MALLOC/FREE unknown' cppcheck info messages
* Workaround 'value of SIGBUS unknown' cppcheck info messages
* Workaround 'value of WINAPI unknown' cppcheck info messages
* Workaround 'variable hides enumerator with same name' cppcheck warnings
* Workaround 'variable reassigned before old value used' cppcheck warnings
* Workaround 'waiting while holding lock' code defect in stop_world (Unix)
* Workaround false 'uninitialized var use' code defect (initsecondarythread)
Also, includes 7.4.6 changes
== [7.6.0] 2016-08-02 ==
* ABORT_ARGn log details at INFO level (Android)
* Add 'pragma message' to gc.h to detect inconsistent WIN64/_WIN64 (MS VC)
* Add API function to calculate total memory in use by all GC blocks
* Add API function to set/modify GC log file descriptor (Unix)
* Add alloc_size attribute to GC_generic_malloc
* Add alt-stack registration support
* Add assertion for GC_new_kind boolean arguments
* Add assertion on lock status to GC_alloc_large and its callers
* Add build scripts for VC 9 (Win32/64)
* Add build system plumbing for building with -Werror
* Add incremental GC support for Darwin/arm64
* Add profiling callback events to indicate start/end of reclaim phase
* Add support for enumerating the reachable objects in the heap
* Add toggle-ref support (following Mono GC API)
* Added instructions to README.md for building from git
* Adjust code indentation of malloc/calloc/str[n]dup
* Allow fork() automatic handling on Android with API level 21+
* Allow specific TLS attributes for GC_thread_key
* Allow thread local allocations from within pthread TLS destructors
* Allow to force GC_dump_regularly set on at compilation
* Altera NIOS2 support
* Change 'cord' no-argument functions declaration style to ANSI C
* Check DATASTART is less than DATAEND even assertions off
* Check for execinfo.h by configure
* Code refactoring of GC_push_finalizer/thread/typed_structures
* Code refactoring regarding 'data start' definition for FreeBSD
* Consistently set type of DATASTART/END to ptr_t (code refactoring)
* Consistently use int[] type for '_end' symbol (code refactoring)
* Consistently use outermost parentheses for DATASTART/END, STACKBOTTOM
* Define GC_LINUX_THREADS, NO_EXECUTE_PERMISSION in configure for NaCl
* Define ROUNDUP_PAGESIZE, ROUNDUP_GRANULE_SIZE macros (code refactoring)
* Define public GC_GENERIC_OR_SPECIAL_MALLOC and GC_get_kind_and_size
* Do no declare kernel_id field of GC_Thread_Rep for 64-bit Android
* Do not allow SHORT_DBG_HDRS if KEEP_BACK_PTRS or MAKE_BACK_GRAPH
* Do not warn of missing PT_GNU_RELRO segment when custom DSO filter used
* Document GC_register_my_thread returned value
* Dump the block information in CSV format
* Eliminate redundant *flh check for null in GC_allocobj
* Enable atomic-uncollectable in operator new in gc_cpp.h
* Enable build with musl libc
* Enable gc.h inclusion by client without implicit include windows.h (Win32)
* Enable huge_test for Win64 (and LLP64 target)
* Enable thread-local storage for Android Clang
* Enable thread-local storage usage for GC_malloc/calloc_explicitly_typed
* Export GC_push_all_eager, GC_push_finalizer_structures
* Fix 'arg parameter might be clobbered by setjmp' compiler warning
* Fix assertion in GC_mark_from for non-heap regions
* Fix compilation for Android clang/arm with bfd linker
* Fix integer shift undefined behavior in GC_init_explicit_typing
* Fix missing new-line and redundant trailing dot in WARN messages
* Fix STACKBOTTOM for Solaris 11/x86
* Fix tag collision between ENABLE_DISCLAIM and KEEP_BACK_PTRS
* Fix unchecked fork() result in gctest (Unix, Cygwin)
* Fix user-defined signals drop by marker threads
* Fix various typos in comments and documentation
* FreeBSD/arm support improvement
* GC_make_descriptor code refactoring (eliminate two local variables)
* GC_malloc[_atomic] global and thread-local generalization with kind
* GC_malloc_[atomic_]uncollectable generalization
* GC_scratch_alloc code refactoring (and WARN message improvement)
* Group all compact fields of GC_arrays to fit in single page
* Handle load_segs overflow in register_dynlib_callback gracefully
* Harmonize OSX/iOS configuration; enable compiling for iPhone simulator
* Implement event callbacks for profiling (following Mono GC API)
* Implement the finalization extension API
* Implement thread suspend/resume API (Linux threads only)
* Improve documentation for disappearing links in gc.h
* Make heap growth more conservative after GC_gcollect_and_unmap call
* Mark fo_head, finalize_now with a single GC_push_all call (refactoring)
* Move MessageBox invocation code from GC_abort to a separate routine (Win32)
* NaCl/arm initial support; NaCl runtime fixes for other CPUs
* New macro (GC_ALWAYS_MULTITHREADED) to set multi-threaded mode implicitly
* New macro (NO_WINMAIN_ENTRY) to prefer main() instead of WinMain in test
* New macro (REDIRECT_MALLOC_IN_HEADER) to enable source-level redirection
* Process all PT_LOAD segments before PT_GNU_RELRO segments (Glibc)
* Re-implement GC_finalized_malloc using GC_malloc_kind
* Refactoring of android_thread_kill/pthread_kill calls
* Refactoring of GC_Xobjfreelist (use single array to keep free lists)
* Refactoring of thread-local *_freelists (use single array of free lists)
* Refine description in README how to build from source repository
* Refine GC_free_space_divisor comment regarding its initial value
* Reformat code of gc_cpp.cc/h
* Remove 'opp' local variable in GC_malloc_X
* Remove 'sig' argument of GC_suspend_handler_inner (code refactoring)
* Remove code commented out by 'ifdef UNDEFINED'
* Remove hb_large_block field (use 1 extra bit of hb_flags instead)
* Remove obsolete BACKING_STORE_ALIGNMENT/DISPLACEMENT macros for Linux/IA64
* Remove redundant casts in GC_generic_or_special_malloc and similar
* Remove unsupported FreeBSD/ia64 case from gcconfig.h file
* Remove unused GC_gcjdebugobjfreelist
* Rename ATOMIC_UNCOLLECTABLE to GC_ATOMIC_UNCOLLECTABLE
* Replace non-API occurrences of GC_word to word (code refactoring)
* Return GC_UNIMPLEMENTED instead of abort in GC_get_stack_base (OS/2)
* Show WoW64 warning message if running 32-bit on Win64 (enabled by macro)
* Standalone profiling callback for threads suspend/resume
* Support (add machine description for) TILE-Gx and TILEPro targets
* Support build for Android 64-bit (arm64, mips64, x86_64)
* Support FreeBSD/aarch64, FreeBSD/mips
* Support iOS7 64-bit (AArch64) and iOS8+ 32/64-bit (Darwin)
* Support MinGW build in scripts
* Turn off sigsetjmp workaround for Android/x86 starting from NDK r8e
* Use magic header on objects to improve disclaim_test
* Workaround 'sa_sigaction member missing' compiler error (Android/x32)
* Workaround 'unresolved __tls_get_addr' error for Android NDK Clang
* Workaround a bug in winpthreads causing parallel marks deadlock (MinGW)
Also, includes 7.4.4 changes
== [7.4.24] 2023-05-25 ==
* Adjust CORD_ec comment placement in ec.h
* Do not mix debug and non-debug allocations in disclaim tests
* Eliminate 'cast signed to bigger unsigned' CSA warning in WARN calls
* Ensure GC_NO_PTHREAD_SIGMASK defined if no GC_pthread_sigmask prototype
* Fix GC_thread_is_registered for finished threads
* Fix GC_unregister_my_thread call before GC functions usage in gctest
* Fix missing lock while updating GC_in_thread_creation in GC_exit_check
* Fix null pointer dereference in TRACE_TARGET
* Fix of GC_bytes_allocd increment in GC_generic_malloc_inner
* Remove redundant 'ifdef THREADS' around LOCK/UNLOCK in call_with_alloc_lock
Also, includes 7.2q changes.
== [7.4.22] 2022-08-26 ==
* Eliminate 'new_l may be used uninitialized' gcc warning in os_dep (Cygwin)
* Eliminate 'possible loss of data' compiler warning in GC_envfile_getenv
* Fix 'undeclared getpagesize' compiler warning on AIX and OSF1
* Fix GC_dirty() argument in GC_malloc_explicitly_typed_ignore_off_page
* Fix SIGSEGV caused by dropped stack access from child process in gctest
* Fix abort in Win32 DllMain if PARALLEL_MARK
* Fix assertion violation of GC_thread_key alignment if pthread-based TLS
* Fix comment in GC_init regarding GC_init_parallel call
* Fix stack overflow in gctest on Alpine Linux/s390x
* Revert "Remove nested always-false ifdef for HPUX and FREEBSD"
* Use SIGRTMIN+6 as suspend signal if sigrt-signals on OpenBSD
* Workaround crash in FreeBSD rand() by avoiding its concurrent usage
Also, includes 7.2p changes.
== [7.4.20] 2021-09-28 ==
* Do not hold GC_fault_handler_lock when in Sleep (Windows)
* Eliminate 'static GC_sysinfo definition has incomplete type' Clang warning
* Eliminate 'unused function GC_add_map_entry' compiler warning
* Eliminate 'while clause does not guard' GCC warning in GC_parse_map_entry
* Fix OS_TYPE and USE_MMAP_ANON definitions for Cygwin/x64
* Fix abort in GC_printf when gctest is built as WinMain executable (Cygwin)
* Fix configure message about 'AIX gcc optimization fix'
* Fix cordtest build in SMakefile.amiga
* Prevent GetThreadContext failure (Windows)
* Refactoring of WoW64 workaround (Win32)
Also, includes 7.2o changes
== [7.4.18] 2019-03-01 ==
* Fix 'wrong __data_start/_end pair' error on Android
* Fix thread_info() count argument value (OS X)
Also, includes 7.2n changes
== [7.4.16] 2018-12-13 ==
* Fix 'collecting from unknown thread' abort in leak-finding mode for Win32
* Fix 'undefined reference to GC_incremental' linker error in pthread_start
* Fix GC_register_disclaim_proc for leak-finding mode
* Fix concurrent bitmap update in GC_dirty
* Fix marking of finalizer closure object
* Fix marks and hb_n_marks consistency when disclaim returns true
* Fix missing curses.h in cord/de when compiling manually (MS VC, MinGW)
* Refine documentation in gc_disclaim.h
Also, includes 7.2m changes
== [7.4.14] 2018-08-11 ==
* Cleanup BCC Makefile (remove absolute GC paths, fix del cmd, update clean)
* Do not call GC_dirty_inner unless GC_incremental
* Eliminate 'cast between incompatible function types' compiler warning
* Eliminate 'comparing signed and unsigned values' compiler warnings (bcc)
* Eliminate 'language extension used' Clang warning in gc.h
* Eliminate 'possibly incorrect assignment in CORD_vsprintf' compiler warning
* Eliminate 'switch statement contains no case label' compiler warning
* Eliminate 'variable might be uninitialized' warning in win32_start_inner
* Eliminate duplicate clear_mark_bit call when removing disappearing link
* Fix 'collecting from unknown thread' abort in leak-finding mode
* Fix compilation by digimars.mak (DMC) and by WCC makefile
* Fix cords for MANUAL_VDB
* Fix dependency on gc_cpp source in BCC_MAKEFILE and NT_MAKEFILE
* Fix gctest in leak-finding mode
* Fix missing GC_dirty calls for GC-allocated objects used internally
* Fix missing GC_dirty invocation from debug_end_stubborn_change
* Fix multi-threaded gctest for the case of NTHREADS is set to zero
* Fix typos in ChangeLog and generic_malloc
* Keep pointer to the start of previous entry in remove_specific_after_fork
* New API function (GC_is_init_called) to check if BDWGC is initialized
* Remove code duplication in gcj_malloc and malloc_explicitly_typed
* Remove duplicate local variable in reclaim_block
* Remove libatomic_ops license information from README
* Workaround 'dynamic exception specifications deprecated in C++11' warning
Also, includes 7.2l changes
== [7.4.12] 2018-04-19 ==
* Define GC_FREEBSD_THREADS and GC_ADD_CALLER macros for kFreeBSD
* Fix comment for debug_generic_malloc_inner[_ignore_off_page]
* Fix gctest with musl libc on s390x
* Fix missing new-line in ABORT_ARG<n> definition
* Fix null pointer dereference in get_private_path_and_zero_file (Symbian)
* Fix type of local variables receiving result of PHT_HASH
* Remove API symbols renaming in WCC_MAKEFILE
Also, includes 7.2k changes
== [7.4.10] 2018-01-22 ==
* Fix error code in abort message if sem_wait failed in start_world (NetBSD)
Also, includes 7.2j changes
== [7.4.8] 2017-12-22 ==
* Eliminate 'this statement may fall through' GCC warnings
* Eliminate 'value exceeds maximum object size' GCC warning in huge_test
* Fix data race in make_descriptor when setting explicit_typing_initialized
* Fix marking of disclaim-reachable objects in the incremental mode
* Update comment in finalized_disclaim to match FINALIZER_CLOSURE_FLAG
Also, includes 7.2i changes
== [7.4.6] 2017-10-26 ==
* Add configure --enable-gcov option (enable code coverage analysis)
* Add configure check whether to define NO_GETCONTEXT
* Adjust GC_memalign comment
* Allow HAVE_DL_ITERATE_PHDR to be defined by client (musl)
* Allow PKG_CHECK_MODULES in configure.ac to be commented out easily
* Avoid busy waiting in mark_thread while GC_parallel is false
* Better document minimum value of size argument for typed allocations
* Change type of THREAD_TABLE_INDEX result to int in win32_threads.c
* Consistently use 'msec' instead of 'ms' in comments in pthread_support
* Do not define amiga_get_mem, MacTemporaryNewPtr unless really used (extra)
* Do not produce .tar.bz2 distribution file (configure)
* Do not require libatomic_ops for single-threaded builds (configure)
* Do not warn of missing PT_GNU_RELRO segment when custom DSO filter used
* Document GWW_VDB in gcdescr.html
* Eliminate 'cast to void* from int' compiler warnings (Darwin/x64)
* Eliminate 'conditional expression is always true' code defect in GC_init
* Eliminate 'FP divide-by-zero' static analyzer warning
* Eliminate 'incompatible function pointer' warning in mark_some (MinGW/x86)
* Eliminate 'ISO C forbids an empty translation unit' GCC pedantic warning
* Eliminate 'ISO C forbids object to function pointer conversion' warning
* Eliminate 'locally defined symbol imported' MS linker warnings (cord)
* Eliminate 'null dereference' code defect warning in register_finalizer
* Eliminate 'possible loss of data' compiler warnings (MS VC)
* Eliminate 'printf format specifier mismatch' compiler warning (tools)
* Eliminate 'type defaults to int in declaration' warning (REDIRECT_MALLOC)
* Eliminate 'value stored is never read' warning of Clang static analyzer
* Eliminate duplicate log messages in GC_mark_from
* Eliminate most of collisions in GC_threads on Linux/x64
* Ensure GC initialized when atfork_prepare is called by client
* Fix 'arg parameter might be clobbered by setjmp' compiler warning
* Fix 'bogus LR' detection in FindTopOfStack (Darwin)
* Fix 'execvp argument incompatible pointer type' compiler warning (tools)
* Fix 'GetVersion deprecated' compiler warning in os_dep (MS VC)
* Fix 'incompatible pointer' compiler warning in GC_init_dyld (OS X 64-bit)
* Fix 'incompatible ptr-to-int conversion' compiler warning in push_all_stack
* Fix 'ISO C90 does not support %lf, %lg gnu_printf formats' GCC warnings
* Fix 'ISO C90 forbids mixed declarations and code' compiler warning
* Fix 'missing libc-version.h' build error (uClibc/x86[_64])
* Fix 'replacement operator delete cannot be inline' GCC warning (Cygwin)
* Fix 'variable unused' compiler warning in FirstDLOpenedLinkMap
* Fix 'zero-size array is extension' Clang warning in os_dep (Linux/x86)
* Fix (adjust) GC_scratch_alloc actual argument type
* Fix deadlock in GC_help_marker caused by use of mark_cv of parent process
* Fix finalize.c compilation in 'strict ANSI' mode
* Fix GC shared library tests failure related to dl_iterate_phdr (musl)
* Fix gc.h compliance to strict ANSI (pthreads)
* Fix GC_bytes_allocd incrementation in case of allocation failure
* Fix GC_jmp_buf multiple definition
* Fix GC_noop6 definition to avoid its calls to be optimized away
* Fix gctest failure if PARALLEL_MARK (musl)
* Fix gctest thread stack overflow (musl-gcc)
* Fix initsecondarythread_test runtime failure if GC compiled w/o threads
* Fix lack of 2 trailing zeros in _MSC_VER numbers
* Fix local variable declarations in disclaim_bench
* Fix missing #error pragma
* Fix missing .exe for disclaim test filenames in Makefile (MinGW)
* Fix missing atomic/[un]collectable/realloc_count increments in gctest
* Fix missing new-line and redundant trailing dot in WARN messages
* Fix missing new-line at format strings end in subthread_create test
* Fix mixed include of GC public header and gc_priv.h in disclaim bench/test
* Fix potential overflow in decrement when computing GC_markers_m1
* Fix printf format specifiers in extra files (cppcheck warnings)
* Fix pthread_start compilation if single-obj-compilation (Linux)
* Fix register_finalizer call in disclaim_bench for GC_DEBUG
* Fix static assertion violation in LONG_MULT for 64-bit targets
* Fix tag collision between ENABLE_DISCLAIM and KEEP_BACK_PTRS
* Fix thread id leaks in subthread_create and threadkey_test
* Fix threaded tests runtime crash if GC_NO_THREAD_REDIRECTS supplied
* Fix tools/setjmp_t to prevent nested_sp inlining
* Fix typo in CHECK_GCLIB_VERSION name (test)
* Fix typos in comments/documentation (ews4800, extend_size_map, push_roots)
* Fix unchecked fork() result in gctest (Unix, Cygwin)
* Improve detection of internal libatomic_ops (configure)
* Move libraries version info to the beginning of Makefile.am
* Prevent abort in register_data_segments for Symbian
* Process all PT_LOAD segments before PT_GNU_RELRO segments (Glibc)
* Refine Makefile.direct comment about multi-threaded GC build
* Refine README about library source downloading
* Refine should_invoke_finalizers documentation
* Remove all generated files by NT_X64_THREADS_MAKEFILE 'clean' target
* Remove non-existent configure option in simple_example.html
* Replace C++ style comments to C ones, remove commented out code (extra)
* Support CFLAGS_EXTRA to pass extra user-defined compiler flags (configure)
* Support CFLAGS_EXTRA when checking for inline and dladdr (configure)
* Suppress 'tainted string passed to vulnerable operation' false defects
* Suppress MS VC warnings about unused param, const condition (NT_MAKEFILE)
* Update bdwgc mailing list online archive link in documentation
* Update shared libraries version info to differentiate against v7.2
* Use AC_DEFINE for defining NO_GETCONTEXT in configure
* Workaround 'index out of bounds' UBSan false warning in push_marked
* Workaround 'mmap() resource handle leak' static analyzer warning
* Workaround 'redundant assignment of *result to itself' cppcheck warning
* Workaround 'resource leak' error reported by cppcheck (tools, test)
Also, includes 7.2h changes
== [7.4.4] 2016-05-25 ==
* Allow GC_FAST_MALLOC_GRANS() multiple use in a function
* Also enable the TSX workaround for i386 (Linux)
* Avoid unstructured procfs on Solaris
* Change cord/de main() declaration style from K-R to ANSI C
* Change no-argument functions declaration style to ANSI C (cord)
* Do not include sigcontext.h and asm/sigcontext.h
* Eliminate 'divide by zero' compiler warning in cordtest
* Eliminate warning about 64-bit pointer-to-int cast (Win64/pthreads-w32)
* Eliminate warnings detected by Cppcheck in cord de[_win]
* Fix 'comparison of non-null parameter is always false' warning (Clang)
* Fix 'CORD_iter5 unused result' code defect in cordxtra
* Fix 'GC_generic_malloc_inner_ignore_off_page not used' compiler warning
* Fix 'implicit declaration of vsnprintf' GCC warning (if strict ANSI mode)
* Fix 'signed-to-bigger-unsigned value assignment' in GC_init_size_map
* Fix 'signed-to-bigger-unsigned value assignment' warning for hb_map
* Fix 'signed-to-bigger-unsigned value assignment' warning in GC_setpagesize
* Fix 'statement unreachable' compiler warning in GC_mark_from
* Fix 'statement unreachable' compiler warning in memalign
* Fix 'unused label' compiler warning in cord/de
* Fix 'value truncated' compiler warning in CORD_cat (MS VC)
* Fix 'variable unused' warning in GC_save_callers
* Fix 'visibility attribute not supported' GCC warning (IBM AIX)
* Fix CMake warning about CMP0054 by unquoting instances of HOST
* Fix Cygwin64 build
* Fix GC_REALLOC to call GC_FREE if new size is zero and pointer is non-NULL
* Fix Makefile.direct for Cygwin
* Fix __alloc_size__ availability detection (Clang)
* Fix abort message in GC_move_long_link
* Fix and code refactoring of lock elision workaround (Linux/x64)
* Fix assertion on mark_lock_holder for non-unique NUMERIC_THREAD_ID
* Fix data race in GC_init_explicit_typing
* Fix gc.mak regarding msvc_dbg and test (MSVC)
* Fix missing error handling of pthread_attr_init/getstacksize
* Fix missing error handling of pthreads_mutex_init and cond_wait
* Fix missing numeric casts in cord
* Fix potential left shift overflows in finalize.c (64-bit targets)
* Fix pthreads-win32 name in comments and documentation
* Fix setup_mark_lock missing prototype
* Fix unchecked fcntl() result
* Fix unchecked pointer dereference in check_ints (gctest)
* Fix unchecked pthread_join() result in threadkey_test
* Fix unchecked sigdelset() result in pthread_support
* Fix undefined PTRFREE/NORMAL in gc_inline.h
* Prefix PREFETCH_FOR_WRITE with GC_ as used in gc_inline.h public header
* Relax mark_mutex attribute needed to disable elision (Linux/x64)
* Remove (deprecate) TODO file
* Remove code duplication in GC_realloc
* Remove duplicate new-line in OUT_OF_MEMORY message (cord)
* Remove references to missing linux_threads.c from documentation
* Revert "Move asm machine-dependent files to 'src' folder" (partly)
* Support Android API level 21
* Update compiler options in gc.mak (Win32)
* Use mmap instead of sbrk (Hurd)
* Workaround 'comparison is always false' GCC warning in GC_FAST_MALLOC_GRANS
* Workaround 'identical expr on both sides of bitwise op' warning
* Workaround Linux NTPL lock elision bug
* Workaround false warning about unreachable code path
* Workaround invalid '_end' symbol on Android clang 3.5+
Also, includes 7.2g changes
== [7.4.2] 2014-06-03 ==
* Add config option to use STGRTMIN-based signals for thread suspend/resume
* Allow parallel mark to be enabled on powerpc-linux systems
* Check for Fujitsu compiler in builtin_unwind logic (enable FX10/K-Computer)
* Fix 'Array subscript is above array bounds' GCC warning in GC_new_kind/proc
* Fix 'attribute declaration must precede definition' warning (clang-3.1)
* Fix (enable) Cygwin-64 build
* Fix GC_finalized_malloc failure on disclaim_test
* Fix GC_sig_suspend initialization when non-constant SIGRTMIN used
* Fix MS VC redefinition warning for functions declared with GC_ATTR_MALLOC
* Fix TEXT() usage for concatenated strings in GC_CreateLogFile (Win32)
* Fix data roots registration for Android/x86 and NDK ARM 'gold' linker
* Fix find stackbottom on BlueGene P/Q systems
* Fix machdep .lo files path in configure (SPARC, IA-64)
* Fix ok_init assignment (missing cast) in GC_new_kind_inner
* Fix typos in names in AUTHORS and ChangeLog files
* Remove barrett_diagram file duplicated by tree.html
* Remove non-existing DISCARD_WORDS from GC data structure ASCII diagram
* Restore contribution information for ancient releases in ChangeLog
Also, includes 7.2f changes
== [7.4.0] 2013-11-17 ==
* Add 'bytes reclaimed' counters to public GC_prof_stats_s
* Add AArch64 (64-bit ARM) target support
* Add GC_LONG_REFS_NOT_NEEDED ifdefs to exclude long link functionality
* Add GC_get_prof_stats[_unsafe]() to GC public API
* Add GC_push_all/conditional() to GC public API
* Add assertion on number_of_objs to GC_extend_size_map
* Add assertion to GC_enable() ensuring no counter underflow
* Add assertion to LOCK definition that lock is not already held
* Add assertion to LONG_MULT and remove useless assert in PUSH_CONTENTS_HDR
* Add double-lock assertion to GC_acquire_mark_lock
* Add manual POSIX fork handling support (Android)
* Add note about 'pkg-config' solving problem with autoconf 2.68 or older
* Add public GC_set/get_abort_func to replace default GC_on_abort
* Add public GC_start_mark_threads() to allow parallel marker in fork child
* Add public setter and getter for GC_push_other_roots
* Add support of Android logger
* Add tests for GC_register/move/unregister_long_link
* Add thread suspend/resume signals public setters (POSIX threads)
* Added long weakref support
* Adjust GC_dont_expand/gc/precollect and GC_print_stats type to match gc.h
* Adjust README.md title and references to doc .html files in it
* Adjust build scripts to enable additional test library in staticrootstest
* Adjust logged messages in start_mark_threads and GC_thr_init
* Adjust printf format specifiers in GC_print_trace
* Allow not to rely on __data_start value (Linux)
* Allow pthread_kill error code logging in GC_suspend/resume (debugging)
* Allow to compile GC_inner_start_routine aside from extra/gc.c
* Allow to omit libc atexit() call
* Avoid LOCK/UNLOCK hard-coding in gc_locks.h for PS3 target
* Better document GC_warn_proc in gc.h
* Call GC_on_abort (with NULL argument) on exit(1)
* Call GC_stats/verbose_log_printf instead of GC_log_printf if print_stats
* Change policy regarding version numbers ("micro" part instead of "alpha")
* Changed C99-style designated init of GC_dl_hashtbl struct to use C89-style
* Check GC_base result in GC_print_all_smashed_proc
* Check that SIG_SUSPEND and SIG_THR_RESTART are different (Pthreads)
* Check traceable_allocator.allocate result before dereference in test_cpp
* Code refactoring of GC_x_printf (move shared code to macro)
* Convert readme to markdown
* Default to use libc_stack_end in single-threaded GC on glibc targets
* Define GC_VSNPRINTF internal macro in misc.c (code refactoring)
* Define functions in darwin_semaphore.h as inline instead of static
* Define old_bus_handler static variable only if used (Unix)
* Detect dladdr() presence by configure
* Disable find-leak GC_gcollect on GC abnormal EXIT
* Do not define _setjmp/_longjmp macros in mach_dep.c
* Do not duplicate android_log_write output to GC log file (Android)
* Do not include sigcontext.h if NO_SIGCONTEXT_H (Linux)
* Do not set GC_lock_holder by call_with_alloc_lock if assertions disabled
* Do not use pthread_getattr_np if NO_PTHREAD_GETATTR_NP specified
* Elaborate comment on dependencies in autogen.sh
* Eliminate 'cast from int to pointer' warning in GC_exclude_static_roots
* Eliminate 'missing exception specification' warning in gc_cpp.cc (Clang)
* Eliminate 'uninitialized variable use' warning in test_printf (cord)
* Eliminate 'unused result' compiler warning in main() of test_cpp
* Eliminate 'unused value' compiler warning in GC_stop_world (Pthreads)
* Eliminate 'unused variable' compiler warning in start_mark_threads (HP/UX)
* Eliminate Clang warning for GC_pthread_exit attribute
* Eliminate GCC warning about uninitialized 'hhdr' in GC_allochblk_nth
* Eliminate GCC warning in GC_get_main_stack_base (OpenBSD)
* Eliminate GCC warnings in setjmp_t.c, test_cpp and cord 'de' app
* Eliminate GC_first_nonempty atomic value reload in GC_mark_local assertion
* Eliminate SIGBUS-related dead code in GC_write_fault_handler (Linux)
* Eliminate warning and simplify expression in GC_init_explicit_typing
* Enable 'force GC at every GC_malloc' debug-related functionality
* Enable on-demand debug logging in GC_FindTopOfStack (Darwin)
* Enable prefetch operations by default (GCC 3.0+)
* Enable staticrootstest for the case of GC shared library build
* Enable thread-local allocation support for Clang on Cygwin
* Explicitly specify that Darwin, Linux and Solaris platforms have dladdr
* Fix ABORT definition for mingw32ce (WinCE)
* Fix AM_CONFIG_HEADER in configure for autoconf-2.69-1
* Fix GC_CreateThread and GC_beginthreadex definition for Cygwin
* Fix GC_INIT_CONF_ROOTS in gc.h for Android
* Fix GC_INLINE definition to comply with ISO C90 standard (GCC)
* Fix GC_remove_all_threads_but_me for Android (fork support)
* Fix debug_register_displacement calls from GC_debug_generic_malloc_inner
* Fix dyn_load.c compilation for Android 4.3
* Fix make disclaim_test to link with new GNU ld linking rules
* Improve GC error printing atomicity in GC_debug_X and GC_print_obj
* Improve GC output atomicity in GC_print_obj, GC_print_all_errors
* Improve debug-only messages of add/remove_roots and init_linux_data_start
* Improve fork test logging in gctest
* Improve logged messages about heap size and usage
* Improve logging for Android differentiating messages by log level
* Improve staticrootstest (add global data to library, add lib w/o GC_INIT)
* Improve staticrootstest checks (tests)
* Include "config.h" instead of "private/config.h" on HAVE_CONFIG_H
* Include proper header file in 'tools' for configuration macros
* Include pthread_np.h from pthread_stop_world.c on OpenBSD
* Log error messages to stderr instead of stdout in tests
* Make GC_generic_malloc_ignore_off_page() public
* Make GC_mark_lock_holder variable static
* Make GC_print_trace always thread-safe and remove 'lock' argument
* Mark GC_started_thread_while_stopped() as GC_INNER
* Minimize code duplication in GC_mark_and_push
* Move 'include setjmp.h' from mach_dep.c to gc_priv.h
* Move GC_OPENBSD_UTHREADS definition to private/gcconfig.h (OpenBSD)
* Move GC_get_suspend/thr_restart_signal to misc.c for NaCl and OpenBSD
* Move LOCK/UNLOCK from GC_unregister_disappearing_link_inner outer
* Port BDWGC to Android/x86
* Postpone the suspend signal in GC_dirty_init only if used to stop world
* Prepend '#' symbol to GC number in logged messages
* Prevent POSIX fork if mprotect_thread is started (Darwin)
* Prevent abort on GC_err/warn_printf write failure
* Prevent misleading AC_MSG_ERROR/AS_IF errors reported in configure.ac
* Put gc_cpp symbols into 'boehmgc' namespace if GC_NAMESPACE defined
* Recognize GC_DONT_GC macro in gc.h (causes GC_INIT to turn off GC)
* Recognize GC_SIG_SUSPEND and GC_SIG_THR_RESTART tuning macros in gc.h
* Redirect WRITE to __android_log_write if GC_ANDROID_LOG (Android)
* Refine comment of GC_is_heap_ptr and GC_thread_is_registered in gc.h
* Register dynamic libraries via dl_iterate_phdr on Android and OpenBSD
* Remove DebugBreak on WriteFile failure (Win32)