blob: 0a80882de1a35cded4234b5a067e39d2f53b844c [file] [log] [blame]
Alex Lightf2f1c9d2017-03-15 15:35:46 +00001 Initializing and loading the TestWatcher class that will (eventually) be notified of object allocations
2 Allocating an j.l.Object before redefining Object class
3 Allocating a Transform before redefining Object class
4 Redefining the Object class to add a hook into the <init> method
Alex Lightf2f1c9d2017-03-15 15:35:46 +00005 Allocating an j.l.Object after redefining Object class
Alex Light2e410d22017-04-13 12:58:06 -07006Object allocated of type 'java.lang.Object'
Alex Lightf2f1c9d2017-03-15 15:35:46 +00007 Allocating a Transform after redefining Object class
Alex Light2e410d22017-04-13 12:58:06 -07008Object allocated of type 'Transform'
Alex Lightf2f1c9d2017-03-15 15:35:46 +00009 Allocating an int[] after redefining Object class
Alex Lightf2f1c9d2017-03-15 15:35:46 +000010 Allocating an array list
Alex Light2e410d22017-04-13 12:58:06 -070011Object allocated of type 'java.util.ArrayList'
Alex Lightf2f1c9d2017-03-15 15:35:46 +000012 Adding a bunch of stuff to the array list
Alex Light2e410d22017-04-13 12:58:06 -070013Object allocated of type 'java.lang.Object'
14Object allocated of type 'java.lang.Object'
15Object allocated of type 'Transform'
Alex Lightf2f1c9d2017-03-15 15:35:46 +000016 Allocating a linked list
Alex Light2e410d22017-04-13 12:58:06 -070017Object allocated of type 'java.util.LinkedList'
Alex Lightf2f1c9d2017-03-15 15:35:46 +000018 Adding a bunch of stuff to the linked list
Alex Light2e410d22017-04-13 12:58:06 -070019Object allocated of type 'java.lang.Object'
20Object allocated of type 'java.util.LinkedList$Node'
21Object allocated of type 'java.lang.Object'
22Object allocated of type 'java.util.LinkedList$Node'
23Object allocated of type 'java.util.LinkedList$Node'
24Object allocated of type 'java.util.LinkedList$Node'
25Object allocated of type 'java.util.LinkedList$Node'
26Object allocated of type 'java.util.LinkedList$Node'
27Object allocated of type 'Transform'
28Object allocated of type 'java.util.LinkedList$Node'
Alex Lightf2f1c9d2017-03-15 15:35:46 +000029 Throwing from down 4 stack frames
Alex Light2e410d22017-04-13 12:58:06 -070030Object allocated of type 'java.lang.Exception'
Alex Lightf2f1c9d2017-03-15 15:35:46 +000031 Exception caught.
Alex Lightf2f1c9d2017-03-15 15:35:46 +000032 Finishing test!
Alex Lightb6f34642018-01-04 11:01:48 -080033Object allocated of type 'java.lang.Thread'
34Object allocated of type 'java.lang.Object'
35Object allocated of type 'java.lang.Object'
36Object allocated of type 'java.security.AccessControlContext'