Number: 1353

Date:  5-Jun-84 15':22':38

Submitter: Sannella.PA

Source: Kaplan.pa

Subject: BREAKDOWN referenced LCFIL; BREAKDOWN overhead reduced

Assigned To: Masinter

Attn: 

Status: Closed

In/By: Harmony

Problem Type: Bug

Impact: Serious

Difficulty: Easy

Frequency: Everytime

Priority: Hopefully

System: Programming Environment

Subsystem: Performance Tools

Machine: 

Disk: 

Lisp Version: 

Source Files: 

Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 

Disposition: [required BRKDWNCOMPFLG = T. I actually made a number of edits to BRKDWN which should substantially reduce the per-call overhead, giving much more meaningful results.]'
["Sannella.PA" "22-Aug-84 17':11':09" Status':(Fixed->Closed) In/By':]

Description: '
Date':  1 Jun 84 11':07 PDT'
From': Kaplan.pa'
Subject': Lisp': Break in compiling breakdown function'
To': LispSupport.pa'
cc': Kaplan.pa'
'
Lisp System Date':  1-Jun-84 10':35':08'
Machine': Dorado (Ahwahnee)'
Microcode version': 24,4'
Memory size': 10000'
Frequency': Always'
Impact': Serious'
'
I recompiled file FOO, then SETQ(BRKDWNTYPE ''(CONSES TIME)) and (BREAKDOWN BAR BAZ).'
'
The system tries to compile the breakdown measurement function, and gets a FILE NOT OPEN error for FOO.DCOM.  FOO.DCOM is the value of LCFIL.  Setting that back to NIL (by calling COMPSET explicitly) solves the problem.  But it seems that (1) it is a bug that the variable LCFIL is global, and (2) a bug that the breakdown entry to the compiler gets confused by this global setting.'


Workaround: 

Test Case: 

Edit-By: Sannella.PA

Edit-Date: 22-Aug-84 17':11':10