Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[wasm] Trim down size of dotnet.wasm#39549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrzVlad merged 13 commits intodotnet:masterfromBrzVlad:feature-sgen-size-trim
Jul 18, 2020
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
13 commits
Select commitHold shift + click to select a range
cb23a9e
[interp] Use constant for concurrent collection in progress
BrzVladJul 16, 2020
c3230ec
[sgen] Use constant for concurrent sweep
BrzVladJul 16, 2020
775ab2f
[sgen] Remove code from threadpool when not using concurrent mode
BrzVladJul 16, 2020
b49c7ff
[sgen] Avoid keeping some callbacks alive
BrzVladJul 16, 2020
e57b82d
[sgen] Avoid registering callback if not used
BrzVladJul 16, 2020
f7fc2a8
[sgen] Add option to remove binary protocol from build
BrzVladJul 17, 2020
be37c1e
[sgen] Add option to disable togglerefs
BrzVladJul 17, 2020
2bd497c
[sgen] We never need to wait for sweep if serial
BrzVladJul 17, 2020
5cd897e
[sgen] Disable also canaries if debug helpers are disabled
BrzVladJul 17, 2020
2845f13
[sgen] Disable also pinning_stats if debug features are disabled
BrzVladJul 17, 2020
9dd4fe0
[sgen] Disable also gchandle stats if debug is disabled
BrzVladJul 17, 2020
96aa139
[sgen] Disable also sgen logging if debugging is disabled
BrzVladJul 17, 2020
2f7ccbc
[runtime] Disable log messages if assert messages is disabled
BrzVladJul 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
[sgen] Avoid keeping some callbacks alive
Saves 0.5k on wasm
  • Loading branch information
@BrzVlad
BrzVlad committedJul 17, 2020
commitb49c7ff99bb31c7b309d0a4f0e4506e9d578ea22
10 changes: 0 additions & 10 deletionssrc/mono/mono/sgen/sgen-workers.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -639,11 +639,6 @@ sgen_workers_assert_gray_queue_is_empty (int generation)
{
}

void
sgen_workers_foreach (int generation, SgenWorkerCallback callback)
{
}

SgenObjectOperations*
sgen_workers_get_idle_func_object_ops (WorkerData *worker)
{
Expand DownExpand Up@@ -685,11 +680,6 @@ sgen_workers_set_num_active_workers (int generation, int num_workers)
{
}

void
sgen_workers_start_all_workers (int generation, SgenObjectOperations *object_ops_nopar, SgenObjectOperations *object_ops_par, SgenWorkersFinishCallback callback)
{
}

void
sgen_workers_stop_all_workers (int generation)
{
Expand Down
8 changes: 8 additions & 0 deletionssrc/mono/mono/sgen/sgen-workers.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,7 +78,11 @@ struct _WorkerContext {
void sgen_workers_create_context (int generation, int num_workers);
void sgen_workers_stop_all_workers (int generation);
void sgen_workers_set_num_active_workers (int generation, int num_workers);
#ifndef DISABLE_SGEN_MAJOR_MARKSWEEP_CONC
void sgen_workers_start_all_workers (int generation, SgenObjectOperations *object_ops_nopar, SgenObjectOperations *object_ops_par, SgenWorkersFinishCallback finish_job);
#else
#define sgen_workers_start_all_workers(...)
#endif
void sgen_workers_enqueue_job (int generation, SgenThreadPoolJob *job, gboolean enqueue);
void sgen_workers_join (int generation);
gboolean sgen_workers_have_idle_work (int generation);
Expand All@@ -88,7 +92,11 @@ void sgen_workers_take_from_queue (int generation, SgenGrayQueue *queue);
SgenObjectOperations* sgen_workers_get_idle_func_object_ops (WorkerData *worker);
int sgen_workers_get_job_split_count (int generation);
int sgen_workers_get_active_worker_count (int generation);
#ifndef DISABLE_SGEN_MAJOR_MARKSWEEP_CONC
void sgen_workers_foreach (int generation, SgenWorkerCallback callback);
#else
#define sgen_workers_foreach(...)
#endif
gboolean sgen_workers_is_worker_thread (MonoNativeThreadId id);

#endif

[8]ページ先頭

©2009-2025 Movatter.jp