comp.lang.ada
 help / color / mirror / Atom feed
From: Mats Weber <matsw@mail.com>
Subject: Re: Y21C Bug
Date: 2000/01/11
Date: 2000-01-11T10:37:04+00:00	[thread overview]
Message-ID: <387B07CF.B667643C@mail.com> (raw)
In-Reply-To: wcc66x7w220.fsf@world.std.com

Robert A Duff wrote:

> Commit on use is indeed very cool.
> 
> Do you know which operating systems support it?

VMS. And I think most major Unices also support it, as well as NT. If
you want to know, compile and run the following program and see what
happens:

--
with Ada.Numerics.Discrete_Random;

procedure Try_Commit_On_Use is

   Size : constant := 100_000_000;  -- Size of memory allocated.
   
   Pages : constant := 1_000;  -- Number of pages to reference.

   type Big is array (1 .. Size) of Character;
   
   type Big_Access is access Big;
   
   subtype Bar is Integer range 1 .. Pages;
   
   package Bar_Random is new Ada.Numerics.Discrete_Random(Bar);
   
   Generator : Bar_Random.Generator;
   
   Z : Big_Access;
   
begin
   Z := new Big;
   loop
      Z(Size / Pages * Bar_Random.Random(Generator)) :=
         Z(Size / Pages * Bar_Random.Random(Generator));
   end loop;
end;




  parent reply	other threads:[~2000-01-11  0:00 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-02  0:00 Y21C Bug reason67
2000-01-02  0:00 ` Robert Dewar
2000-01-03  0:00   ` Tarjei T. Jensen
2000-01-03  0:00     ` Robert A Duff
2000-01-04  0:00       ` Tarjei T. Jensen
2000-01-04  0:00         ` Robert Dewar
2000-01-05  0:00           ` Tarjei T. Jensen
2000-01-05  0:00             ` Al Christians
2000-01-06  0:00               ` Tarjei T. Jensen
2000-01-06  0:00                 ` Robert Dewar
2000-01-06  0:00                   ` Robert A Duff
2000-01-06  0:00                     ` Larry Kilgallen
2000-01-07  0:00                     ` Florian Weimer
2000-01-07  0:00                       ` Robert A Duff
2000-01-07  0:00                         ` Robert Dewar
2000-02-04  0:00                           ` Florian Weimer
2000-02-04  0:00                             ` Robert A Duff
2000-02-04  0:00                               ` Florian Weimer
2000-01-11  0:00                         ` Mats Weber
2000-01-11  0:00                           ` Robert A Duff
2000-01-12  0:00                             ` Mats Weber
2000-01-12  0:00                               ` Thierry Lelegard
2000-01-13  0:00                                 ` Robert A Duff
2000-01-13  0:00                                   ` Larry Kilgallen
2000-01-13  0:00                                   ` Thierry Lelegard
2000-01-13  0:00                                 ` Mats Weber
     [not found]                               ` <387dfb1e.cbbf14c7@mail.com>
2000-01-13  0:00                                 ` Larry Kilgallen
2000-01-11  0:00                     ` Mats Weber [this message]
2000-01-07  0:00                   ` Tarjei T. Jensen
2000-01-07  0:00                     ` Robert Dewar
2000-01-06  0:00               ` Robert Dewar
2000-01-05  0:00             ` Robert Dewar
2000-01-06  0:00               ` Georg Bauhaus
2000-01-06  0:00                 ` Tarjei T. Jensen
2000-01-06  0:00               ` Richard D Riehle
2000-01-06  0:00               ` Tarjei T. Jensen
2000-01-06  0:00                 ` Larry Kilgallen
2000-01-04  0:00         ` Samuel Tardieu
2000-01-04  0:00         ` Robert A Duff
2000-01-04  0:00       ` Robert Dewar
2000-01-04  0:00         ` Charles Hixson
2000-01-04  0:00           ` Keith Thompson
2000-01-05  0:00           ` Robert Dewar
2000-01-05  0:00             ` Y21C Bug :-) Charles Hixson
2000-01-06  0:00               ` Ted Dennison
2000-01-07  0:00                 ` Keith Thompson
2000-01-07  0:00                   ` Robert A Duff
2000-01-05  0:00           ` Y21C Bug Robert Dewar
2000-01-03  0:00     ` Jeff Creem
2000-01-03  0:00       ` Tarjei T. Jensen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox