![]() If you want to know something more about dynamic libraries, you can read How To Write Shared Libraries by the same author. The number of relocations was obtained using the script by Ulrich Drepper. Using the same technique on the other arrays in PCRE and GRegex, we reduced the number of relocations, now the results are similar to the ones obtained without GRegex: Libglib-2.0.so: 90 relocations, 63 relative (70%), 131 PLT entries, 1 for local syms (0%), 0 usersĪ possible solution is to replace the strings in the table by offsets into one big string constant. Libglib-2.0.so: 290 relocations, 263 relative (90%), 131 PLT entries, 1 for local syms (0%), 0 userstable The number of relocations in libglib with GRegex was: The strings (they are more than 100!) are placed in read-only memory, while the _pcre_utt array will be placed in writeable memory, so the dynamic loader has to do a relocation for each string. In PCRE (the library used by GRegex) there is a table used to associate the name of a script, such as Latin or Arabic, to its properties: Relocation is the process of adjusting the pointers whose value is unknown at link-time, such as the pointer to a function is a dynamically loaded library. While working on GRegex (Perl-style regular expressions for GLib) I discovered that arrays of string pointers can cause lots of relocations. The last small improvement I found is the new “System” tab in GNOME System Monitor, see this, this, and this. Some minor changes were done to the “Startup Programs” tab in gnome-session-properties, spot the differences! The UI of GNOME Power Manager was cleaned up, now the menu is much more readable and the ugly “Power History” window with lots of tabs has been improved too. GNOME Screenshot has a new dialog displayed when you pass -interactive to the program, the default if you launch the utility from the menu. We will have a UI for configuring theme colors, see this post by Tim Retout. In the following screenshots you can see Glossy, a new theme included in 2.18 (to tell the truth it’s not a real theme, but just an option to the ClearLooks theme.) These are not the big changes everyone can see like the new Control Center, but those small things that are improving GNOME version after version. After the post on the “Empty Trash” button in the trash folder, I’m looking for other small changes in GNOME 2.17, i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |