gecko-dev/modules/libjar
Mike Hommey f266fa9039 Bug 1529558 - Use PrefetchVirtualMemory in nsZipArchive::BuildFileList when supported. r=aklotz
instead of ReadAhead, which does active reading on Windows.

The PrefetchVirtualMemory is a system call that is new to Windows 8.

Back when the readahead code for jar was added, in bug 810151, Windows 8
was still fresh out of the oven. 6 years later, we can do a runtime
check and use the PrefetchVirtualMemory function.

One downside is that the IOInterposer doesn't know about it (but it
doesn't know about madvise on other platforms anyways).

Differential Revision: https://phabricator.services.mozilla.com/D20807

--HG--
extra : moz-landing-system : lando
2019-02-26 00:14:20 +00:00
..
test Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html 2019-02-25 04:06:11 +02:00
zipwriter Bug 1415508 - use Span in constructing a byte input stream; r=mayhemer 2019-02-25 19:11:20 +00:00
appnote.txt
components.conf Bug 1524687: Part 5 - Convert JAR module to static registration. r=valentin 2019-01-24 15:49:33 -08:00
moz.build Bug 1524687: Part 5 - Convert JAR module to static registration. r=valentin 2019-01-24 15:49:33 -08:00
nsIJARChannel.idl Bug 1427726 - remove nsIJARChannel::isUnsafe and nsIDocShell::channelIsUnsafe, r=bz 2018-02-07 14:25:33 +00:00
nsIJARFactory.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsIJARProtocolHandler.idl
nsIJARURI.idl Bug 1442242 - Make the constructor of nsJARURI private r=mayhemer 2018-03-20 12:52:47 +01:00
nsIZipReader.idl bug 1382749 - remove the "old way" of signing add-ons r=aklotz,mossop 2017-07-19 13:09:46 -07:00
nsJAR.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsJAR.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsJARChannel.cpp Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html 2019-02-25 04:06:11 +02:00
nsJARChannel.h Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin 2019-02-12 16:08:25 +00:00
nsJARInputStream.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsJARInputStream.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsJARProtocolHandler.cpp Bug 1528971: Move newChannel2 being the only implementation within nsIProtocolHandler.idl. r=valentin 2019-02-19 19:20:37 +01:00
nsJARProtocolHandler.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
nsJARURI.cpp Bug 1526382 - Part 2: Make nsIClassInfo use Array<nsIIDRef> for 'interfaces', r=mccr8 2019-02-13 21:42:08 +00:00
nsJARURI.h Bug 1522596 - Remove nsIIPCSerializableURI and move its only member to nsIURI; r=valentin 2019-01-25 13:32:36 +00:00
nsZipArchive.cpp Bug 1529558 - Use PrefetchVirtualMemory in nsZipArchive::BuildFileList when supported. r=aklotz 2019-02-26 00:14:20 +00:00
nsZipArchive.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
zipstruct.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00